Ticket #4552 (closed enhancement: fixed)
ItemFileWriteStore: automatically remove references to item when deleting the item
| Reported by: | guest | Owned by: | jaredj |
|---|---|---|---|
| Priority: | high | Milestone: | 1.1 |
| Component: | Data | Version: | 0.9 |
| Severity: | normal | Keywords: | dijit tree store |
| Cc: | bill, alex, dmachi |
Description
After deleting an item from the store, I was using the ItemFileWriteStore? the dijit.Tree handles the onDelete correctly and will delete any node that is visible, but the node is not removed from being a child of the node in the store. This causes problems if something is deleted from the store before the node is visible. When dijit tries to render the children, then it errors out because one of the children has been deleted and is therefore missing.
Any refrences in the store to anything that is deleted need to also be deleted in the event of a delete.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.