Modify

Opened 13 years ago

Closed 11 years ago

#7166 closed defect (fixed)

No need to check for deleted layer after clean exit.

Reported by: skyper Owned by: skyper
Priority: normal Milestone: 14.09
Component: Core Version: latest
Keywords: check deleted layer startup. Cc: jttt

Description (last modified by skyper)

  1. start JOSM, create a new layer
  2. add a node and add a tag
  3. exit JOSM, discarding changes.
  4. on next startup I see a line:
    $HOME/.josm/autosave/Datenebene 1_20111219_1345.osm konnte nicht benutzt werden, ein anderer Dateiname wird verwendet.
    

Is this check needed after a clean exit ?
I still have a file in under deleted_layers/

Cheers skyper

Attachments (0)

Change History (7)

comment:1 by skyper, 13 years ago

Description: modified (diff)

comment:2 by bastiK, 13 years ago

Cc: jttt added

comment:3 by Don-vip, 11 years ago

Owner: changed from team to skyper
Status: newneedinfo

Is it still a problem? If so, can you please post the English message?

in reply to:  3 ; comment:4 by skyper, 11 years ago

Replying to Don-vip:

Is it still a problem? If so, can you please post the English message?

The message translated.
'filename' could not be used, a different one is used.

Did not reproduce, directly, and no file in autosave but still in its subfolder deleted_layers.

Anyway, the filename still contains the date down to minutes but one minute is a huge time span for computers, these days. Better use seconds or even less.

By the way, filename contains quite spaces which is not the best for linux. Please use underscores instead. Thanks

in reply to:  4 comment:5 by Don-vip, 11 years ago

Replying to skyper:

the filename still contains the date down to minutes but one minute is a huge time span for computers, these days. Better use seconds or even less.

Agreed.

By the way, filename contains quite spaces which is not the best for linux. Please use underscores instead.

Not so simple as we would need then to find a way to distinguish real underscores from underscores added to replace space characters. I prefer not to change that if there's no problem.

comment:6 by Don-vip, 11 years ago

Milestone: 14.09

comment:7 by Don-vip, 11 years ago

Resolution: fixed
Status: needinfoclosed

In 7580/josm:

fix #7166 - include second and milliseconds in filename of autosaved deleted layers to avoid potential name collision

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain skyper.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.