Modify ↓
Opened 6 years ago
Closed 4 years ago
#19219 closed enhancement (fixed)
[Patch] Save session: Sessions without data layer should always be savable as .jos
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 22.03 |
| Component: | Core | Version: | |
| Keywords: | template_report session file extension | Cc: |
Description
What steps will reproduce the problem?
- Have some imagery layers and a data layer
- Save session as
- Deselect all data layer and press "enter"
- Look at the file extension and its options in the next dialog
What is the expected result?
.jos should be default or at least available
What happens instead?
Only .joz available
Please provide any additional information below. Attach a screenshot if possible.
The file type needs to be chosen after the user's decision of layers
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-05-10 15:58:34 +0200 (Sun, 10 May 2020) Revision:16402 Build-Date:2020-05-11 01:30:50 URL:https://josm.openstreetmap.de/svn/trunk
Attachments (0)
Change History (8)
comment:1 by , 6 years ago
| Type: | defect → enhancement |
|---|
comment:2 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 4 years ago
| Milestone: | → 22.02 |
|---|---|
| Owner: | changed from to |
| Status: | assigned → new |
| Summary: | Save session: Sessions without data layer should always be savable as .jos → [Patch] Save session: Sessions without data layer should always be savable as .jos |
comment:6 by , 4 years ago
| Milestone: | 22.02 → 22.03 |
|---|
comment:7 by , 4 years ago
Note:
See TracTickets
for help on using tickets.



src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
// TODO: resolve dependencies for layers excluded by the userList<Layer> layersOut = layers.stream().filter(layer -> exporters.get(layer) != null && exporters.get(layer).shallExport()).collect(Collectors.toList());Remaining issue: Sessions that include marker layers can still not be saved as *.jos, even if the GPX file is saved as a local file. See #21813