Modify

Opened 3 months ago

Last modified 3 months ago

#15906 new defect

Isn't properly reverting multiple changesets

Reported by: naoliv Owned by: Upliner
Priority: major Milestone:
Component: Plugin reverter Version:
Keywords: Cc:

Description

Have this object as an example https://www.openstreetmap.org/way/560417360/history
It was inserted in changeset 56253775 and deleted in 56254562.

If I ask to revert both changesets 56253775 56254562 I would expect this object to remain deleted.
ie, by first reverting 56254562, JOSM would restore it; then by reverting 56253775, JOSM should delete it.
In the end, for this specific object, nothing should be changed (since restoring + deleting = its current deleted status)

But the result is very different from this: JOSM just restores the object (and if we upload, we will reinsert it).

The test is very simple here: ask to revert both 56253775 56254562 and see the how object with id:560417360 stays restored.

JOSM:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-02-10 01:40:02 +0100 (Sat, 10 Feb 2018)
Revision:13400
Build-Date:2018-02-10 02:33:49
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13400 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 501 MB / 5120 MB (279 MB allocated, but free)
Java version: 9.0.1+11-Debian-1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-9-jre:amd64-9.0.1+11-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-15
VM arguments: [--illegal-access=warn, --add-modules=java.se.ee, -Dawt.useSystemAAFontSettings=on]

Plugins:
+ Create_grid_of_ways (33856)
+ ImportImagePlugin (33563)
+ OpeningHoursEditor (33876)
+ PicLayer (34021)
+ SimplifyArea (33918)
+ apache-commons (33668)
+ areaselector (336)
+ austriaaddresshelper (1511306130)
+ buildings_tools (34040)
+ download_along (33710)
+ editgpx (33782)
+ ejml (32680)
+ geojson (73)
+ geotools (33958)
+ jogl (1.1.0)
+ jts (32699)
+ log4j (32699)
+ measurement (33760)
+ merge-overlap (34056)
+ opendata (34019)
+ photo_geotagging (33967)
+ poly (33570)
+ reverter (34036)
+ tageditor (33806)
+ todo (30303)
+ turnlanes-tagging (260)
+ turnrestrictions (33780)
+ undelete (33980)
+ utilsplugin2 (33991)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Upliner.
as The resolution will be set.
to The owner will be changed from Upliner to the specified user.
The owner will change to naoliv
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 Upliner to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.