Modify

Opened 6 months ago

Last modified 6 months 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 Changed 6 months ago by skyper

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.
to The owner will be changed from team to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.