| Summary: | Using XML/EJBJAR/WEBAPP discoverer from popup menu leads to wrong model opening | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Fabien Giquel <fabien.giquel> |
| Component: | Technologies | Assignee: | Fabien Giquel <fabien.giquel> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | gdupe, hugo.bruneliere, modisco.web-inbox |
| Version: | 0.9.0 | Flags: | fabien.giquel:
indigo+
|
| Target Milestone: | 0.9.0 M4 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Fabien Giquel
This problem has to be resolved within the MoDisco Discovery Framework refactoring task which is currently in progress. a reminder : not sure of the reason why a wrong Resource Factory is used by the Modisco Browser : the code used to force the good factory in global Resource.FActory registry. It used to work. Whatever the problem is, the good solution is to give the instanciated resource directly to the MoDisco browser -> MoDisco Discovery Framework refactoring task. Completing last comment : "the code used to force the good factory in global Resource.FActory registry. It used to work." The problem comes now from MoDisco Model browser which evolves with some asynchronous model opening (to avoid UI freez i think) -> the workaround "force the good factory in global Resource.FActory registry" does not work anymore. For instance : taking a "web.webapp25" file, and launching a "discover generic xml" results in opening a webapp25 model rather than a xml model. Fixed the three discvoerers (XML, JEE webapp and ejbjar discoverer) for sending directly the result Resource to the MoDisco browser (rev 3629). Bug fixed. |