Opened 6 years ago

Last modified 5 years ago

#19002 new defect

undeleting a node to existing layer does not work — at Version 2

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Plugin undelete Version:
Keywords: template_report state visibility Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Download object: n6479785832, n4263968339, n6485923883
  2. Get message about deleted node and copy id (n4263968339)
  3. Undelete n4263968339 to existing layer

What is the expected result?

Node is undeleted

What happens instead?

Node is not undeleted

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

Undeleting to new layer works and the problem seems to be that the node is already present in data but flagged as deleted.
Did not test it with other object types.
Present in both latest and tested (r15937)

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-03-27 15:39:19 +0100 (Fri, 27 Mar 2020)
Revision:16205
Build-Date:2020-03-28 02:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Plugins:
+ undelete (35313)

Change History (2)

comment:1 by GerdP, 6 years ago

Yes, that is confusing. The undelete plugins prefers to keep the invisible node downloaded in step 1. It will only undelete objects which do not exist in the layer.

comment:2 by skyper, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.