
|
If you were logged in you would be able to see more operations.
|
|
|
Flex SDK
Created: 02/18/08 04:18 AM
Updated: 05/27/08 09:06 AM
|
|
| Component/s: |
Modules
|
|
Security Level:
|
Public
(All JIRA Users
)
|
|
| Severity: |
Incorrectly Functioning with Workaround
|
| Reproducibility: |
Every Time
|
| Discoverability: |
Medium
|
| Found in Version: |
SDK Flex 3.0.1
|
| Milestone: |
SDK Gumbo - Release
|
| Affected OS(s): |
Windows
- XP
|
| Steps to Reproduce: |
Steps to reproduce:
1. Create multiple Modules in a project
2. Add them to the main.mxml with <mx:ModuleLoader />
3. Make sure the project uses RSLs for the Flex Framework instead of merging it into the code.
4. Run the project.
Actual Results:
Not all Modules are being displayed. Sometimes only one and other times none at all.
The Modules are being loaded fine when we check the ModuleEvent.bytesloaded and ModuleEvent.bytesTotal. However the ModuleEvent.READY is not always being dispatched when loading is completed.
Expected Results:
All modules should display. The ModuleEvent.READY should be dispatched when loading is completed.
Workaround 1:
When we first unload the Modules with Module.unloadModule() and then load them with module.loadModule() things are working fine, most of the times but not always. Workaround 2 might be the better solution.
Workaround 2 (thanks to Gustavo Saume):
Loading the modules as a sequence appears to solve the problem.
Developers NOTE:
This only happens when we use RSL caching of the Flex Framework. Without the caching it all works fine. Looks like a part of the Flex Framework has not been completely loaded when the Modules are. See the attachment for a project replicating this issue.
Steps to reproduce:
1. Create multiple Modules in a project
2. Add them to the main.mxml with <mx:ModuleLoader />
3. Make sure the project uses RSLs for the Flex Framework instead of merging it into the code.
4. Run the project.
Actual Results:
Not all Modules are being displayed. Sometimes only one and other times none at all.
The Modules are being loaded fine when we check the ModuleEvent.bytesloaded and ModuleEvent.bytesTotal. However the ModuleEvent.READY is not always being dispatched when loading is completed.
Expected Results:
All modules should display. The ModuleEvent.READY should be dispatched when loading is completed.
Workaround 1:
When we first unload the Modules with Module.unloadModule() and then load them with module.loadModule() things are working fine, most of the times but not always. Workaround 2 might be the better solution.
Workaround 2 (thanks to Gustavo Saume):
Loading the modules as a sequence appears to solve the problem.
Developers NOTE:
This only happens when we use RSL caching of the Flex Framework. Without the caching it all works fine. Looks like a part of the Flex Framework has not been completely loaded when the Modules are. See the attachment for a project replicating this issue.
|
| Language Found: |
English
|
| Bugbase Id: |
none
|
| Triaged: |
Yes
|
| Regression: |
No
|
| QA Owner: |
Gaurav Jain
|
| Resolved by: |
Joan Lafferty
|
| Participants: |
Erwin Verdonk, Gaurav Jain, Gustavo Saume, Joan Lafferty and M. van Beek
|
|
All
|
Comments
|
|
Sort Order:
|
|