-
28 Mar 2012 8:11 AM #11
@ashapiro75: can you try opening Designer first and then (from within Designer) open the project? Does the error still occur? I noticed opening a (upgraded) project this way slightly differs (see: this post)
Last edited by joostvanhassel; 28 Mar 2012 at 8:12 AM. Reason: added link
-
28 Mar 2012 8:17 AM #12
-
28 Mar 2012 8:33 AM #13
@anthonyterrell: I tried taking those same exact steps, without updating the url prefix this time. I do get an error message, but it's this one:
Unable to load data using the supplied configuration.
Open in Browser: tree.json
Completely expected since it's trying to resolve tree.json at an unknown location. I don't get the JSON.stringify message.Jason Johnston
@lojjic
Sencha Architect Development Team
-
28 Mar 2012 8:42 AM #14
@ashapiro75: maybe you can post the project as it is updated at your PC/mac now.
Just to be sure: have you closed all instances of Designer before opening a new Designer and opening the project?
-
3 Apr 2012 4:54 PM #15
New beta build
New beta build
Hi guys, we left off with me being unable to reproduce the issue with the provided project; I'm wondering if you are still seeing the issue with the updated beta build 355?
Jason Johnston
@lojjic
Sencha Architect Development Team
-
4 Apr 2012 4:12 PM #16
I see in in a message by clicking a a red explanation point by my store after starting up my project in Designer(Update 360).
I think that it relates to autoLoad. Start a new project and add the model and store below. Save it and close Designer and then reopen it. The red error explanation point will be beside the Store. Clicking gets the message.
If I remove autoLoad the message goes away.
The store works in my project.
I hope this helps.
Worth
Code:/* * File: app/model/MapServerMap.js * * This file was generated by Sencha Designer version 2.0.0. * http://www.sencha.com/products/designer/ * */ Ext.define('MyApp.model.MapServerMap', { extend: 'Ext.data.Model', config: { fields: [ { name: 'mapUrl' } ], proxy: { type: 'ajax', url: './php/getMap.php', reader: { type: 'json', rootProperty: 'map' } } } });Code:/* * File: app/store/MapServerMaps.js * * This file was generated by Sencha Designer version 2.0.0. * http://www.sencha.com/products/designer/ * */ Ext.define('MyApp.store.MapServerMaps', { extend: 'Ext.data.Store', requires: [ 'MyApp.model.MapServerMap' ], config: { autoLoad: true, model: 'MyApp.model.MapServerMap', storeId: 'MyStore' } });
-
4 Apr 2012 4:26 PM #17
@jjohnston: I'm not having the issue anymore, I'm fine (unrelated; it might be nice if this forum somehow could show if a question is answered in the threadlist, I guess this would help you guys browsing through all questions too)
@worthlutz:
1) is the error the same as in the threads title?
2) does the error occur only in Designer, or does your project not load any data while testing in a browser either?
3) could you call the exact url directly in your browser and post the output, so we can have a look to help you out?
-
5 Apr 2012 4:42 AM #18
The error only occurs in Designer and is the same as the thread title.
Could the problem be that the rootProperty, "map", object in the returned data has both the "extent" and "mapUrl" properties? Does the model have to "exactly" match the returned data object or can it pull out the required pieces if only some are needed in this case?
w/ added linefeeds and spacing:Code:{"success":true,"parceldata":[],"map":{"extent":{"minx":2211826.2604003,"miny":648503.81250018,"maxx":2212980.7500002,"maxy":649623.93750018},"mapUrl":"\/tmp\/4f7d8e71_6a90_0.png"},"errorMessages":["NumRows = 1"],"ownerParcelList":[["SMITH, DAISY MAE STANCIL","14038026"]]}
Code:{ "success":true, "parceldata":[], "map":{ "extent":{"minx":2211826.2604003,"miny":648503.81250018,"maxx":2212980.7500002,"maxy":649623.93750018}, "mapUrl":"\/tmp\/4f7d8e71_6a90_0.png" }, "errorMessages":["NumRows = 1"], "ownerParcelList": [["SMITH, DAISY MAE STANCIL","14038026"]] }
-
5 Apr 2012 4:55 AM #19
-
5 Apr 2012 5:05 AM #20
Going through the same steps as before I receive the error still, running the latest build.
- Download the project from this thread named nl3.zip
- Open Sencha designer and choose the project file within the folder
- Confirm I want to update the project
- Click load data - receive error.
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1713
in
Architect 2.0.


Reply With Quote