Changes between Version 2 and Version 3 of Ticket #7505, comment 10


Ignore:
Timestamp:
Jul 14, 2012 3:53:29 PM (11 months ago)
Author:
Don-vip
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7505, comment 10

    v2 v3  
    1 There's some work to do when working with .osm files containing primitives that have been redacted meanwhile. Taking again the previous node example, I have saved two different copies of it (one for revision 1, and another one for a complete fake revision 2. 
     1There's some work to do when working with .osm files containing primitives that have been redacted meanwhile. Taking again the previous node example, I have saved a copy and edited it to obtain a complete fake revision 2. 
    22When loading this revision 2, it goes bad: 
    33 
     
    66The versions are not correctly sorted. 
    77 
    8 Worst, if we click on this revision in column A, this exception happens: 
     8Worst, if we click on this revision in columns A or B, these exceptions happen: 
    99{{{ 
    1010java.lang.IllegalArgumentException: Failed to set reference. Reference version 2 not available in history. 
     
    1717        at org.openstreetmap.josm.gui.history.VersionTable$RadioButtonEditor.itemStateChanged(VersionTable.java:194) 
    1818}}} 
     19 
     20{{{ 
     21java.lang.IllegalArgumentException: Failed to set current primitive. Current version 2 not available in history. 
     22        at org.openstreetmap.josm.gui.history.HistoryBrowserModel.setCurrentPointInTime(HistoryBrowserModel.java:335) 
     23        at org.openstreetmap.josm.gui.history.HistoryBrowserModel$VersionTableModel.setCurrentPointInTime(HistoryBrowserModel.java:489) 
     24        at org.openstreetmap.josm.gui.history.HistoryBrowserModel$VersionTableModel.setValueAt(HistoryBrowserModel.java:459) 
     25        at javax.swing.JTable.setValueAt(Unknown Source) 
     26        at javax.swing.JTable.editingStopped(Unknown Source) 
     27        at javax.swing.AbstractCellEditor.fireEditingStopped(Unknown Source) 
     28        at org.openstreetmap.josm.gui.history.VersionTable$RadioButtonEditor.itemStateChanged(VersionTable.java:194) 
     29}}}