Results 1 to 2 of 2

Thread: After cmd build, model not affected to store

  1. #1
    Sencha User
    Join Date
    Mar 2012

    Default After cmd build, model not affected to store


    I have an app generated with sencha touch cmd, i developped some functionalities, that work fine on browser without any javascript error. Then, i build the app (web build) using this command 'sencha app build myApp' , i obtain the app with minimised code (that's ok), when i run this app on browser i have a javascript error Cannot read property 'getIdProperty' of undefined.

    After many debug, i catch the line which target this error and it's in one of my controller ==> the line is storeSujets.setData(sujetsData); where storeSujets is my store, i get it using var storesujets = Ext.getStore('Sujets');

    print me the content below, as you can see model affected to my store is null, and i think it's the reason of the error. bug.png
    My question is why after build, the store has no model ? any help please ? this bug is critic for me .

    Sorry for my bad english, i still available for further information.

  2. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014



    Can you share the configuration of your model and store, as well as any relevant code for how you are using them in your application?


Similar Threads

  1. Replies: 1
    Last Post: 27 Sep 2014, 6:35 AM
  2. [INFOREQ] index.html codes are affected Panel...
    By leebyeungok in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 31 Oct 2011, 11:09 AM
  3. Anim callback doesn't get a handle to the affected element
    By johnwilander in forum Ext: Discussion
    Replies: 0
    Last Post: 19 Apr 2011, 5:47 AM
  4. How to collect all affected nodes while deleting TreeNode
    By karantir in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 12 May 2008, 12:58 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts