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

Selecting nodes in multipolygons can cause crash #3480

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

Selecting nodes in multipolygons can cause crash #3480

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

Comments

@openstreetmap-trac
Copy link

Reporter: tom.davie[at]gmail.com
[Submitted to the original trac issue database at 9.45pm, Monday, 24th January 2011]

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.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 1.02pm, Tuesday, 25th January 2011]

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.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 4.13pm, Sunday, 30th January 2011]

Fixed in r25187.

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