Ticket #1979 (closed bug: worksforme)

Opened 10 years ago

Last modified 10 years ago

Auto filename generating should be present

Reported by: deyan Owned by: mitex
Priority: major Milestone: M12_RELEASE
Component: uncategorized Version: 2.0
Keywords: Cc: mitex
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: deyan Design_owners: mitex
Imp._owners: mitex Test_owners:
Analysis_reviewers: mitex Changelog:
Design_reviewers: meddle Imp._reviewers: meddle
Test_reviewers: vanya Analysis_score: 4
Design_score: 4 Imp._score: 4
Test_score: 0

Description

When you first select "Save As" or "Save", suggested name should be the same as the book name. When you just resave the book, suggested name should be the same as the old one. See #1825

Change History

comment:1 Changed 10 years ago by deyan

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 10 years ago by mitex

  • Status changed from s1b_analysis_finished to s2a_design_started

comment:3 Changed 10 years ago by mitex

  • Design_owners set to mitex
  • Owner set to mitex
  • Imp._owners set to mitex

Design:

  • The default file name should be generated in the method FileMenuLogic.saveBookToFile - the book title or the current file name, according to the analysis.
    • If the book title contains characters not allowed for filenames, such as '/', ':', '"', etc., they are replaced by underscores ('_').
  • FileDialogInput should have a field fileName, which is the initial file name.
    • Create constructor with arguments Component, Kind, String fileName.
  • In FileDialog, set the selected file in the JFileChooser to the file specified by the dialog input.

comment:4 Changed 10 years ago by mitex

  • Status changed from s2a_design_started to s3b_implementation_finished

Implementation:
[6696]

comment:5 Changed 10 years ago by meddle

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Analysis_reviewers set to mitex
  • Analysis_score changed from 0 to 4
  • Cc mitex added
  • Imp._reviewers set to meddle
  • Design_score changed from 0 to 4
  • Design_reviewers set to meddle
  • Imp._score changed from 0 to 4

Merged to the trunk at [6708].

And next time every bug in a separate branch! I will fail task because of that, because the svn properties can be harmed...

4p (20m)

comment:6 Changed 10 years ago by vanya

  • Status changed from s3c_implementation_ok to closed
  • Test_reviewers set to vanya
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.