Results 1 to 2 of 2

Thread: Store requirements when working with ViewModels

    You found a bug! We've classified it as DSGNR-7636 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User
    Join Date
    Sep 2016
    Location
    Germany
    Posts
    37

    Default Store requirements when working with ViewModels

    Hello Architect devs,

    when dragging a store from the Stores section in Project Inspector into a ViewModel of a Class,
    the Store isn't removed from the Application's requirements.
    This leads to an error in bootstrap.js because the old store's class isn't found though still required.

    And vice versa, when you pull a Store form a ViewModel back into the Stores section,
    it is not added to the Application's requirements.
    So when you set this store as data source for e.g. a grid, the app fails on instantiating it because it's
    store is undefined because the class wasn't loaded.

    The second point fails late, possibly only in some progressed app state and is therefore rather serious.

    Kind regards,
    clampart

    Sencha Architect

    Version: 4.1.1.123
    Channel: 4.1-stable
    Platform: 1.2.8.3 - darwin x64
    Renderer: 51.0.2704.106
    Cmd: 6.2.1.29
    Framework: Ext JS 6.2.x Classic

  2. #2
    Sencha User
    Join Date
    Jun 2016
    Posts
    12

    Default

    Hello clampart!
    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. New Bug in Sencha Architect 3.2 - not able to copy store between ViewModels
    By Markus_W in forum Sencha Architect 3.x: Bugs
    Replies: 1
    Last Post: 28 Jun 2015, 10:01 AM
  2. Replies: 0
    Last Post: 22 Apr 2015, 4:24 AM
  3. Replies: 2
    Last Post: 26 Jan 2015, 7:18 AM
  4. buffered store back end requirements? start,limit,sort?
    By ironandsteel in forum Ext: Discussion
    Replies: 2
    Last Post: 18 Nov 2011, 3:42 PM
  5. Replies: 0
    Last Post: 7 Jun 2011, 8:53 AM

Posting Permissions

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