Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Non-existent objects being added to relations #4263

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments
Open

Non-existent objects being added to relations #4263

openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Richard
[Submitted to the original trac issue database at 6.47pm, Saturday, 3rd March 2012]

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.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant