Opened 15 years ago
Closed 15 years ago
#4392 closed defect (fixed)
exception in version history dialog on re-downloading a changed element
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | version history dialog for elements r-2010-01-blocker | Cc: |
Description
What steps will reproduce the problem?
- Start JOSM
- Download a small area.
- Change one way is the area with version 1.
- Show the way in the version history dialog. There will be two versions
- 'Version 1, 06.01.10 12:34 (von xyz)'
- '*Version 2 im Editor'
- Upload the changed way.
- Delete the layer with the area and the changed way. The JOSM starting message will be shown.
- Download an other small area with the same way you have changed before.
- Select the way.
- Open the version history dialog. There will be two version
- 'Version 1, 06.01.10 12:34 (von xyz)'
- '*Version 2 im Editor'
- Click on the '*Version 2 im Editor' and the exception is thrown.
When i restart JOSM and redo the steps 7 to 10 all is fine.
What is the expected result?
The version history dialog should show the versions:
- 'Version 1, 06.01.10 12:34 (von xyz)'
- 'Version 2, 17.01.10 17:32 (von adjuva)'
What happens instead?
The latest version of the way is shown as a current editing in JOSM an not as a version from the OSM database.
My suggestion:
There exists a data object with edited versions of elements, that is not updated when a new version of an element is downloaded or that is not cleared, when the layer with the edited version of the element is deleted.
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-01-17 02:32:18 Last Changed Author: jttt Revision: 2867 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-01-16 19:51:23 +0100 (Sat, 16 Jan 2010) Last Changed Rev: 2867 Memory Usage: 47 MB / 158 MB (14 MB allocated, but free) Java version: 1.6.0_11 Dataset consistency test: No problems found Plugins: openstreetbugs,wmsplugin,remotecontrol,validator,multipoly,measurement Plugin openstreetbugs Version: 19463 Plugin wmsplugin Version: 19507 Plugin remotecontrol Version: 19471 Plugin validator Version: 19485 Plugin measurement Version: 19450 Plugin multipoly Version: 19456 java.lang.IllegalArgumentException: Aktuelle Version 2 nicht in der Versionsgeschichte vorhanden! at org.openstreetmap.josm.gui.history.HistoryBrowserModel.setCurrentPointInTime(HistoryBrowserModel.java:309) at org.openstreetmap.josm.gui.history.HistoryBrowserModel$VersionTableModel.setCurrentPointInTime(HistoryBrowserModel.java:420) at org.openstreetmap.josm.gui.his
Attachments (0)
Change History (3)
comment:1 by , 15 years ago
Summary: | exception in version history dialog when on downloading a changed element → exception in version history dialog on re-downloading a changed element |
---|
comment:2 by , 15 years ago
Keywords: | r-2010-01-blocker added |
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summay corrected.