Opened 6 years ago

#4263 new defect

Non-existent objects being added to relations

Reported by: Richard Owned by: potlatch-dev@…
Priority: minor Milestone:
Component: potlatch2 Version:
Keywords: wtf Cc:

Description

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.actions::AddMemberToRelationAction()
	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.)

Change History (0)

Note: See TracTickets for help on using tickets.