Modify

Opened 8 years ago

#13704 new enhancement

file rename process unexpectedly aborts

Reported by: aseerel4c26 Owned by: team
Priority: minor Milestone:
Component: Core Version: latest
Keywords: file rename layer Cc:

Description

What steps will reproduce the problem?

  1. open a previously saved .osm file
  2. right click in the layers box
  3. rename layer
  4. add "/" to the name (on a Linux system - it is a illegal character in file name)
  5. enable the checkbox "rename file, too"
  6. OK

What is the expected result?

notification that the file name is not possible and showing the file name edit box again - with the entered, illegal file name. This way the user is able to fix the problem without loosing all his work and information of the drafted file name.

What happens instead?

notification that the file name is not possible and end of the rename process. The previously entered file name is lost. User has to start again drafting the new file name.

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-24 21:53:10 +0200 (Sat, 24 Sep 2016)
Build-Date:2016-09-25 01:36:58
Revision:11051
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11051 de) Linux Linux
Memory Usage: 489 MB / 1820 MB (119 MB allocated, but free)
Java version: 1.8.0_102-b14, Oracle Corporation, OpenJDK 64-Bit Server VM

Plugins:
+ OpeningHoursEditor (32699)
+ buildings_tools (32944)
+ measurement (32936)
+ reverter (32796)
+ terracer (32699)
+ todo (30000)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)

Last errors/warnings:
- W: Erweiterungen aktualisieren - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$SelectAction@675191bd
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$AddAction@5443f668
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$PassAction@56697af9
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkAction@2c4fe34c

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