Modify

Opened 8 years ago

Closed 5 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 Changed 8 years ago by skyper

Description: modified (diff)

comment:2 Changed 8 years ago by bastiK

Cc: jttt added

comment:3 Changed 5 years ago by Don-vip

Owner: changed from team to skyper
Status: newneedinfo

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

comment:4 in reply to:  3 ; Changed 5 years ago by skyper

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

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

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 Changed 5 years ago by Don-vip

Milestone: 14.09

comment:7 Changed 5 years ago by Don-vip

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.