#4263: Non-existent objects being added to relations
 Reporter:  Richard    |       Owner:  potlatch-dev@…                
     Type:  defect     |      Status:  new                           
 Priority:  minor      |   Milestone:                                
Component:  potlatch2  |     Version:                                
 Keywords:  wtf        |  
 I'm doing a bit of mapping with P2 at the moment and found a curious bug.

 Upload of a large relation failed because placeholder way -1979 wasn't
 found. Ok, that shouldn't happen.

 But hang on... I haven't created 1979 new objects. Indeed, if I abort and
 try and draw a new way, it gives it id -180 or so.

 -1979 is definitely in the relation; the Members view shows that.
 Curiously, if I try and sort the DataGrid (by clicking on a column
 heading), I get an error:

 TypeError: Error #1009: Cannot access a property or method of a null
 object reference.
         at net.systemeD.halcyon.connection::Relation/appendMember()
         at net.systemeD.potlatch2::TagViewer/membersChange()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.collections::ListCollectionView/dispatchEvent()
         at mx.collections::ListCollectionView/internalRefresh()
         at mx.collections::ListCollectionView/refresh()
         at mx.controls::DataGrid/sortByColumn()
         at mx.controls::DataGrid/headerReleaseHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at mx.controls.dataGridClasses::DataGridHeader/mouseUpHandler()


 (No such error with the non-broken relations.)

Ticket URL: <https://trac.openstreetmap.org/ticket/4263>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world

Potlatch-dev mailing list

Reply via email to