| Summary: | dependencies not revalidated when replacing a workspace query by a registered one | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Nicolas Bros <nicolas.bros> | ||||
| Component: | Infrastructure | Assignee: | Nicolas Bros <nicolas.bros> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | gdupe, hugo.bruneliere, modisco.web-inbox | ||||
| Version: | 0.8.0 | Flags: | nicolas.bros:
helios+
hugo.bruneliere: review+ |
||||
| Target Milestone: | 0.8.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 312456 | ||||||
| Attachments: |
|
||||||
|
Description
Nicolas Bros
When I remove this line: MoDiscoResourceSet.getResourceSetSingleton().removeListener(this, rootObjectURI); in AbstractMoDiscoCatalog.removeWSFile, the problem disappears and all unit tests pass. But since you added it for a reason, I'll let you investigate further and decide how to best fix it. Created attachment 168200 [details] patch In fact, the problem was due to listeners not being added when the referred resource couldn't be loaded (non valid file). This patch fixes the problem by adding a listener in this case. As a bonus, it also fixes Bug 312456! Hi Nicolas, You can go ahead with this patch. Best regards, Hugo Thanks. I have applied the patch to branch 0_8_0. Patch successfully committed. |