Opened 8 years ago

Closed 8 years ago

#3480 closed defect (fixed)

Selecting nodes in multipolygons can cause crash

Reported by: tom.davie@… Owned by: potlatch-dev@…
Priority: blocker Milestone:
Component: potlatch2 Version: 2.0
Keywords: Cc:

Description

Steps to reproduce: 1) Visit http://www.openstreetmap.org/edit?editor=potlatch2&lat=57.67551&lon=-3.29837&zoom=18 2) Select node 776433781 (intersection of two unclassified roads) 3) Press / until the multipolygon forrest is selected

Expected results: Not crashing

Actual results: crashing

Regression: Works correctly if you scroll the map so that the inner way of the multipolygon gets loaded.

Change History (2)

comment:1 Changed 8 years ago by Richard

Using Flash Debug Player this throws an exception:

 TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at net.systemeD.halcyon::WayUI/solidLineOtherWay()

It seems likely that this is erroring if the outer way of a multipolygon is loaded but not the inner. Will investigate later this week.

comment:2 Changed 8 years ago by Richard

Resolution: fixed
Status: newclosed

Fixed in r25187.

Note: See TracTickets for help on using tickets.