Opened 9 months ago

Closed 8 months ago

Last modified 8 months ago

#18709 closed defect (fixed)

Add Tag Dialog: Corrupt key/value added silently with "Recent tags with existing key" enabled

Reported by: skyper Owned by: team
Priority: critical Milestone: 20.02
Component: Core Version: latest
Keywords: template_report add tag recent existing key Cc:


What steps will reproduce the problem?

  1. Create new layer
  2. Add a node (A) and select it
  3. Open Add Tag Dialog and set "Recent tags with existing key" in context menu to "enable"
  4. Add tag crossing=uncontrolled to A
  5. Add another node (B) and select it
  6. Add tags crossing=unmarked and crossing:barrier=no to B
  7. select A and open Add Tag Dialog
  8. double click on crossing=unmarked

What is the expected result?

The warning about overwriting an existing tag and crossing=unmarked on A after "OK"

What happens instead?

crossing:barrier=unmarked is silently added to A

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

Might be a regression. Mark this as critical as adding corrupt tags is bad.

Tried to save it into a session but the add tag history is not saved.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-02-12 00:06:43 +0100 (Wed, 12 Feb 2020)
Build-Date:2020-02-12 02:30:56

Attachments (0)

Change History (4)

comment:1 Changed 9 months ago by GerdP

deleted, I skipped step 3. Sorry for the noise.

Last edited 9 months ago by GerdP (previous) (diff)

comment:2 Changed 8 months ago by skyper

Best is, to disable "Recent tags with existing key" to be on the save side.

comment:3 Changed 8 months ago by simon04

Resolution: fixed
Status: newclosed

In 15885/josm:

fix #18709 - Add Tag Dialog: disable auto completion during use of recent tags

comment:4 Changed 8 months ago by simon04

Milestone: 20.02

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.