Closed eclipse-modisco-bot closed 5 hours ago
By Nicolas Bros on Apr 16, 2010 10:04
Created attachment 165099 workspace on which the errors appear
By Gregoire Dupe on Apr 16, 2010 10:50
The attached workspace meets some problem because when we use it, the Query and Facet validators are not available in EValidator.Registry.
The revision 2037 add the generation of an error message when the required validators are not available in EValidator.Registry. This will be useful to identify the problem on other workspace.
At this time, I have not understood why the validators are missing.
By Gregoire Dupe on Apr 16, 2010 12:13
Hi,
Despite the fact that I don’t understand what is the cause of this bug. I’ve committed a workaround (revision 2038).
I let this bug open to remember that we have to check if the following classes are still usefull:
Regards,\ Grégoire
By Nicolas Bros on Apr 22, 2010 10:27
I can't know for sure whether the Startup classes are needed until Bug 310120 is resolved.
By Nicolas Bros on Apr 23, 2010 11:20
I tried removing the Startup classes, and after testing many cases, it doesn't seem to have any adverse effect.\ So, I committed the removal in revision 2116.
By Nicolas Bros on May 07, 2010 10:07
closing
| --- | --- | | Bugzilla Link | 309438 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Apr 16, 2010 05:15 EDT | | Modified | May 23, 2011 09:23 EDT | | Version | 0.8.0 | | Depends on | 310120 | | Reporter | Nicolas Bros |
Description
With the latest MoDisco version, the example Java Facets don't load anymore, because they don't pass validation.
The validation problem description is "There may not be two features named 'type'". This validation error comes from the EcoreValidator.
This problem happens because some Facets make use of multiple inheritance, and thus get multiple features with the same name, which Ecore considers as illegal.