PDA

View Full Version : [FIXED] Spurious "Missing Store" warning with promoted/linked TreePanel class



azuroff
2 Feb 2012, 11:02 AM
As close as I can remember, here's what I did:

1. Create a Viewport and add a TreePanel.

2. Create a TreeStore and associate it with the TreePanel.

3. Promote the TreePanel to a class of its own - the viewport is now showing a link to the TreePanel class, which is expected.

4. Try to deploy the project and get a warning about TreePanel not having an associated store.

The TreePanel class does in fact have a store associated with it, and if I just click "Yes" and deploy anyway, everything works - the tree panel loads the data just fine.

aconran
2 Feb 2012, 11:53 AM
Thanks for the bug report.

Looks like we are not checking to see that the linked instance (subclass) has the store configuration.

Phil.Strong
9 Feb 2012, 11:19 AM
Yes this is 2 fold and we've addressed both issues.

1st: Designer was crashing (canvas would not paint when TreePanel (linked) or Viewport where selected. (fixed)

2nd: The missing store deploy check wasn't checking the master instance for a store (fixed)