Modify

Opened 10 hours ago

#24869 new defect

File > Save Session As can save a joz as .osm which then fails to open

Reported by: aharvey Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

  1. Add some background layers and edit some data
  2. File > Save Session As...
  3. Leave the data layer and background layers ticked, and leave "Save all local files to disk" ticked, then "Save As"
  4. When prompted by the system file browser name the file "session.osm"
  5. The saved file on disk is now named "session.osm" (but is actually a joz file / zip josm session)
  6. Attempt to open the session.osm file in JOSM.
  7. An error shows up "could not read file, error is line 1 coloumn 1: Content is not allowed in prolog.

If I rename the file from session.osm to session.joz the file opens.

Either when doing save session as it should force .joz or append it to the choosen filename and/or opening a file should detect the filetype beyond the extension.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to aharvey.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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