Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312088 - Conflict between QuerySet and FacetSet editor while open at the same time
Summary: Conflict between QuerySet and FacetSet editor while open at the same time
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 11:40 EDT by Nicolas Guyomar CLA
Modified: 2010-10-04 12:54 EDT (History)
4 users (show)

See Also:
nicolas.bros: helios+
hugo.bruneliere: review+


Attachments
patch (6.40 KB, patch)
2010-05-10 08:31 EDT, Nicolas Bros CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Guyomar CLA 2010-05-07 11:40:03 EDT
Hi,

A conflict occurs while working on a querySet referenced by a faceSet.

Procedure to reproduce the bug : 

- Create a querySet. 
- Create a facetSet and load the querySet. (do not close the files)
- Add a query to the query set, save the querySet
- Add a facet to the facetSet, try to add the new query, which does not appears
- When you save the faceSet, the previously created query disappear

Regards

Nicolas
Comment 1 Nicolas Bros CLA 2010-05-10 08:31:45 EDT
Created attachment 167696 [details]
patch

This happened because the editor saved all the referenced resources.
This patch fixes it by making sure that only the resource containing the QuerySet/FacetSet is saved.
Comment 2 Hugo Bruneliere CLA 2010-05-10 08:41:58 EDT
Nicolas,

You can go ahead with the patch.

Regards,

Hugo
Comment 3 Nicolas Bros CLA 2010-05-10 08:59:19 EDT
Thank you Hugo. I applied the patch to branch 0_8_0, for RC1.
Comment 4 Hugo Bruneliere CLA 2010-10-04 12:54:38 EDT
The patch has been successfully applied.