-
24 Oct 2012 8:06 AM #1
Store won't load XML: TypeError: 'undefined' is not an object (evaluating 'b.length')
Store won't load XML: TypeError: 'undefined' is not an object (evaluating 'b.length')
Tried following the instructions for loading XML into a store. Went through the process contained here:
http://docs.sencha.com/architect/2/#!/guide/stores_examples-section-3
three times. Each time, when an attempt is made to load the data, the following message occurs:
TypeError: 'undefined' is not an object (evaluating 'b.length')
Source Class: qrc:/designer/src/frameworks/ext41/framework/ext-all.js?0.7041799214202911 Line 18
Has anyone successfully loaded XML data with Architect before? Is there something I'm missing?
Thanks.
-
24 Oct 2012 10:05 AM #2
Could you give us some more details about your build
-
25 Oct 2012 11:48 AM #3
Build Number
Build Number
It is build 640 Sencha Architect 2.1.0
Hope that helps,
Rob
-
31 Oct 2012 10:13 AM #4
Rob -
If you open the url that is being used to load the xml in the browser does the xml appear properly? Is the webserver interfering here and passing back some weird content (possibly?)
We've been unable to repro.Aaron Conran
@aconran
Sencha Architect Development Team
-
31 Oct 2012 12:36 PM #5
Data loads fine in browser.
Data loads fine in browser.
The xml loads fine in the browser. To prove to myself that it was pulling off the local web server I build a simple open-and-display xml (the xml file in question) from Visual Studio 2012 and that worked fine when loaded in the browser.
Would you like screen shots? A copy of the file? I haven't been able to get very far with this program. Hope I'm not being dense here.
-
31 Oct 2012 12:52 PM #6
Sorry for your troubles, we'll try to resolve it.
Could you create an archive of the project that we can test out here?Aaron Conran
@aconran
Sencha Architect Development Team
-
31 Oct 2012 1:21 PM #7
Archive
Archive
Ext version 4.1.1a
Sencha Architect version 2.1.0 Build 640
Chrome 22.0.1229.94 m
-
31 Oct 2012 2:01 PM #8
Rob -
Thanks for the help, was able to isolate this one and confirm its existence in build 640. This bug is already fixed in the next patch release that will be coming out soon.Aaron Conran
@aconran
Sencha Architect Development Team
-
1 Nov 2012 5:26 AM #9
It's always good to know it wasn't because I was doing something stupid.
Meanwhile, am I dead in the water as far as using XML in the Architect IDE until the next build is available?
-
1 Nov 2012 7:58 AM #10
Well I wouldn't go so far as to say "dead in the water" but you are correct in saying previewing the xml inside of Architect will not work. You do not have to click "Load Data" to continue working with xml data.
The next patch release is coming up soon.Aaron Conran
@aconran
Sencha Architect Development Team
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote