Bug 406234 - [Core - ModelSet] Improve the resource handling in ModelSet
Summary: [Core - ModelSet] Improve the resource handling in ModelSet
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: M6   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard: Miscellaneous
Keywords: plan
Depends on:
Blocks: 400209 360092
  Show dependency tree
 
Reported: 2013-04-22 12:06 EDT by Camille Letavernier CLA
Modified: 2014-03-13 11:14 EDT (History)
1 user (show)

See Also:
cletavernier: luna+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2013-04-22 12:06:06 EDT
Improve the resource management in the ModelSet:

- Investigate and use the right Save/Load options for all resources (Model + Libraries, Controlled, etc.)
- Correctly handle "demandLoad" exceptions. Avoid keeping (and saving) incorrectly loaded resources. (Might be related to Bug 402042 in which some non-emf resources are loaded and re-serialized, resulting in an empty XMI content)
- ReadOnly resources: see Bug 336811 and Bug 396735
- Add workspace listeners for all resources; not only the IModel resources (Libraries, profiles, controlled models, main IModels, ...). Properly close or reopen the current editor when modifications/deletions happen.
Comment 1 Camille Letavernier CLA 2014-03-13 11:14:03 EDT
> - Investigate and use the right Save/Load options for all resources (Model + Libraries, Controlled, etc.)

Fixed

> - Correctly handle "demandLoad" exceptions. Avoid keeping (and saving) incorrectly loaded resources. (Might be related to Bug 402042 in which some non-emf resources are loaded and re-serialized, resulting in an empty XMI content)

Fixed

> - ReadOnly resources: see Bug 336811 and Bug 396735

Fixed

> - Add workspace listeners for all resources; not only the IModel resources (Libraries, profiles, controlled models, main IModels, ...). Properly close or reopen the current editor when modifications/deletions happen.

Fixed (Although definitely not user friendly).

I close this task. More detailed sub-tasks are already available when necessary.

See: Bug 429239, Bug 323802