Modify

Opened 4 years ago

Last modified 4 years ago

#20775 new defect

Change Value: Misleading, incorrect warning about changes in value when changing the key only

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report change value overwrite Cc:

Description

What steps will reproduce the problem?

  1. Have two objects, one with FIXME=recheck and one with fixme=recheck but none with both keys.
  2. Select the objects and in the "change value" dialog change the key to FIXME or fixme

What is the expected result?

No warning

What happens instead?

A incorrect warning about "key already in use" and about "overwriting values".

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

The check is too general and does not look at each object individually in case of a mixes of keys and values.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-04-17 17:57:53 +0200 (Sat, 17 Apr 2021)
Revision:17791
Build-Date:2021-04-18 01:31:00
URL:https://josm.openstreetmap.de/svn/trunk

Attachments (0)

Change History (1)

comment:1 by skyper, 4 years ago

Similar is the situation when the key-value pair already exists on some objects. The message is still misleading as we override the identical value.

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.