| Summary: | Open Table with a customization : Cannot modify resource set without a write transaction | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Vincent Lorenzo <vincent.lorenzo> | ||||
| Component: | EMF-Facet | Assignee: | Gregoire Dupe <gdupe> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | emft.facet-inbox, gdupe | ||||
| Version: | unspecified | Flags: | gdupe:
indigo+
|
||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Vincent Lorenzo
Created attachment 190985 [details] Patch for Bug 339686.patch Hi Vincent, Indeed this exception came from our customizationEngine, their was no reason to modify the resource. I attached a fix on org.eclipse.emf.facet.infra.browser.uicore (a) I, Nicolas Guyomar, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. Regards, Nicolas Guyomar Comment on attachment 190985 [details] Patch for Bug 339686.patch Here are a contribution from one employee of Mia-Software, targeting future Indigo release. The company has signed a Member Commiter Agreement. The contribution does not need a CQ (see bug 322327). I've committed this contribution. Committed revison 379. Vincent, Please, can you test the new version EMF Facet (>=0.1.0.v201103140910) in your environment. Regards, Gregoire Hi Grégoire, I tested the new version EMF-Facet and all works fine. This bug is resolved for me! Nevertheless, I don't understand why the access for these classes is discouraged, because we need them to create new Query isn't it? org.eclipse.emf.facet.infra.query.core.exception.ModelQueryExecutionException; org.eclipse.emf.facet.infra.query.core.java.IJavaModelQuery; org.eclipse.emf.facet.infra.query.core.java.ParameterValueList; org.eclipse.emf.facet.infra.query.runtime.ModelQueryParameterValue; Hi, > I tested the new version EMF-Facet and all works fine. This bug is resolved for me! Good news, I'll marked this bug has fixed. > Nevertheless, I don't understand why the access for these classes is discouraged, because we need them to create new Query isn't it? This is normal. We have clean our API and added x-internal tags to inform EMF Facet users about the API that will be maintained (or not), cf. http://wiki.eclipse.org/EMF_Facet/API_Policy. The EMF Facet team is aware that Papyrus uses those APIs. Before any modification, the EMF Facet team will contact the Papyrus team. If you want we can add x-friends in the EMF Facet plug-in MANIFEST.MF, but we need the names of the Papyrus’ plug-in which depends on EMF Facet. (Please, send them in an other bug.) Regards, Gregoire This bug can be marked as closed. |