PDA

View Full Version : AbstractStore.overide error and problem locating sync storage.js



Antony
16 Apr 2012, 9:07 AM
I have an error trying to use sencha-io with synch touch 2

I have included the scripts:

<script type="text/javascript" src="./sencha-touch-all-debug.js"></script>
<script type="text/javascript" src="./sencha-io-debug.js"></script>

and set the model configuration:

proxy: {
type: 'syncstorage', previously localstorage
id: 'local',
key: set to my sencha id name
}

Web Inspector is showing the following errors:

TypeError: 'undefined' is not an object (evaluating 'Ext.data.AbstractStore.override')
syncstorage.jsGET http://localhost:8080/myApp/proxy/syncstorage.js?_dc=1334593275931 404 (Not Found)
sencha-touch-all-debug.js:8010Error: [Ext.Loader] Failed loading 'proxy/syncstorage.js', please verify that the file exists

The browsers localstorage is updating with new records but are not displaying in components using the store.

Any help appreciated ....

merrells
16 Apr 2012, 4:31 PM
SIO only works with ST1. We're working on an update of SIO that will work with ST2.

John

Antony
16 Apr 2012, 10:51 PM
Thank you John for the quick response.

I'll set up with ST1.1.