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

Tag editor panel blanks out (goes white) #3858

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

Tag editor panel blanks out (goes white) #3858

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

Comments

@openstreetmap-trac
Copy link

Reporter: randomjunk
[Submitted to the original trac issue database at 5.18am, Thursday, 23rd June 2011]

Tag editor panel blanks out (goes white), preventing you from making edits. Some functionality continues to work, but everything goes a little mental.

Steps to reproduce:

  • select a recognised node/way
  • in the tag editor select the "Naming" tab (or any tab but the first one)
  • click on the map to deselect
  • click on the map to start drawing a new way

==> panel blanks out and you have to reload to recover

@openstreetmap-trac
Copy link
Author

Author: Andy Allan
[Added to the original trac issue at 1.53pm, Friday, 24th June 2011]

It's been triggered from a closure or similar, since the traceback doesn't indicate which bit of p2 is causing it.

RangeError: Error #2006: The supplied index is out of bounds.
	at flash.display::DisplayObjectContainer/getChildAt()
	at mx.core::Container/getChildAt()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\Container.as:2367]
	at mx.controls::ToggleButtonBar/hiliteSelectedNavItem()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\ToggleButtonBar.as:441]
	at mx.controls::ToggleButtonBar/commitProperties()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\controls\ToggleButtonBar.as:333]
	at mx.core::UIComponent/validateProperties()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5818]
	at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539]
	at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:689]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8744]
	at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.5.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8684]

I suspect systemed/potlatch2@8f42392 if anyone wants to git-bisect it.

@openstreetmap-trac
Copy link
Author

Author: Pepou
[Added to the original trac issue at 7.27pm, Friday, 24th June 2011]

Replying to [ticket:3858 randomjunk]:

Tag editor panel blanks out (goes white), preventing you from making edits. Some functionality continues to work, but everything goes a little mental.

Sometimes when afterwards selecting some way, the way's tag selector pops up, but seems to be fixed to the least recently used tags type (e.g. Paths). After selecting some point or deselecting all the panel goes blank again.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 8.15pm, Sunday, 26th June 2011]

Fixed in systemed/potlatch2@8f86250 as penance for my being a miserable old sod.

I'd like to pretend that fixing this required hours upon hours of rooting through the Flex code. Actually this was one of those fixes where you think "hmmm, wonder if this might work on the off-chance" and it does, first time.

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