PDA

View Full Version : [FIXED] Store not added to Application when added to project via a component saved to toolbo



mfreund
19 Oct 2012, 12:11 PM
Okay, in detail....

i build a complex component (grid with store, a window and a few buttons + much js code) everything in architect. then i export the grid to the sidebar and export this item to a file.
then i import the file and move it to and tabpanel as a tab. everything looks fine, store is in the sidebar beside the other stores and my custom attributes are set too.

the only thing: the store is not added to the app.js

if it helps, i could attach the exported component (or better, send it private to you, dont know if i am allowed to make it public, we are using ext in a commercial way)

aconran
19 Oct 2012, 12:51 PM
Thanks mfreund, I've moved your post to the bug forums so that we could track this and open a bug.

In short, this bug is easily reproduced by doing the following. Open a completed version of the CarListings example.
https://github.com/SenchaArchitect/CarListings

Promote the Grid to a top level class
Save this top level class to the toolbox, call it CarGrid

Start a new Project
Drag out the CarGrid component.
It will bring along the store but it will NOT add the store to the Application node