Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popups from Modules not handled by Module swiz instance #38

Open
azack opened this issue Feb 13, 2012 · 1 comment
Open

Popups from Modules not handled by Module swiz instance #38

azack opened this issue Feb 13, 2012 · 1 comment

Comments

@azack
Copy link

azack commented Feb 13, 2012

I believe I've re-discovered the issue reported here http://swizframework.jira.com/browse/SWIZ-24

When a popup is created in a Module and added via PopupManager, the swiz instance that processes the popup is not the module instance, but the "root" swiz instance of the application.

When the popup in question is not a type included in the root application, the root swiz instance can't handle it and we get a runtime error:

ReferenceError: Error #1065: Variable foo is not defined.
at flash.system::ApplicationDomain/getDefinition()

A workaround is to include a dummy variable in the root application of the popup's type.

@carlosrovira
Copy link

Hi, I hit the wall with this problem. Can someone give some feedback to know if is taking into account in the next iteration of swiz? or if we need to address ourselves?.

Thanks in advance

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

No branches or pull requests

2 participants