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
- Add some background layers and edit some data
- File > Save Session As...
- Leave the data layer and background layers ticked, and leave "Save all local files to disk" ticked, then "Save As"
- When prompted by the system file browser name the file "session.osm"
- The saved file on disk is now named "session.osm" (but is actually a joz file / zip josm session)
- Attempt to open the session.osm file in JOSM.
- 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)
Note:
See TracTickets
for help on using tickets.


