Modify

Opened 3 years ago

#21487 new defect

Save Session: Using a dot in file name does not add file extension

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report save session file extension Cc:

Description

What steps will reproduce the problem?

  1. Save some layers to a session file (.joz)
  2. Add a name including a dot (.)
  3. Session is saved
  4. Use Open Recent to open the session file

What is the expected result?

The session is opened

What happens instead?

I get a warning about nno importer or no file found.

Please provide any additional information below. Attach a screenshot if possible.

The problem is that the file extension (.joz) is not added to the file name and that JOSM does not look at the content of a file but only uses the file extension.
With the proper extension added to the file name by renaming (moving), the session opens without problem.
Please, always add the file extension if it is not present at the end of the file name. Thanks

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-10-30 17:46:11 +0200 (Sat, 30 Oct 2021)
Revision:18296
Build-Date:2021-10-31 02:31:04
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18296 en) Linux Debian GNU/Linux 11 (bullseye)
Java version: 17-ea+19-Debian-1, Debian, OpenJDK 64-Bit Server VM
Environment variable LANG: en_US.utf8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Desktop environment: GNOME

Last errors/warnings:
- 00085.447 E: Failed to locate image 'bus.png'
- 00570.010 W: Warning - <html>Cannot open 1 file because file does not exist or no suitable file importer is available.<br><ul><li>${HOME}/Downloads/SBG-Bus_7240.1 (<i>no importer</i>)</li></ul></html>

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 skyper.
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.