#12897 closed defect (fixed)
mobileMvc demo broken due to TransitionEvent changes (mobile/ViewController)
Reported by: | Chris Mitchell | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
demos/mobileMvc/demo.html
click any link.
dojox/mobile/ViewController:63 Uncaught ReferenceError?: url is not defined
Trying to get url from the event, but not there.
Change History (8)
comment:1 Changed 11 years ago by
Component: | General → DojoX Mobile |
---|
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
See dojox/mobile/tests/test_transition-to-dynamic-view.html for a non-demos testcase that reproduces the problem.
comment:4 Changed 11 years ago by
Owner: | changed from Dustin Machi to ykami |
---|
With this latest revision, ViewController? now gets to the _instantiate function() when running test_transition-to-dynamic-view.
However, I can't see how this test was working before dmachi's TransitionEvent? changes, because:
the items.json file it's referencing is in the old ItemFileReadStore? JSON data format, having a top level object, with "items:" array of child objects. The _instantiate function is looking for what appears to be jsonSchema formatted data or something similar...raw JSON with type information as properties. Is it possible that the json file format should have been changed to a new format a while ago, and this testcase was broken?
reassigning to ykami for more background info on the file format for dynamic views...
comment:6 Changed 11 years ago by
comment:7 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think it's already been fixed.
r24796 has partial fix for this, but still gettin the following error during event dispatch: TypeError?: Cannot read property 'dispatchEvent' of undefined.
This is occurring on tests when transitioning to a view loaded from remote view content is using url.
Have to head home now, will try debugging further later, unless u beat me to it.