| Summary: | [oclinecore] OCLinEcore Editor cannot load ecore file | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Hauke Fuhrmann <haf> | ||||||
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ed | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | M1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Hauke Fuhrmann
Created attachment 201210 [details]
ecore file that cannot be opened with OCLinEcore editor
Created attachment 201211 [details]
StackTrace of OCLinEcoreEditor
Thanks for a good repro. [It's usually worth pasting stack traces inline so that Bugzilla searches for duplicates see the offending class names.] Problem is that foo::Bar1.start has an EAnnotation with a null source. Should be a simple fix. Ok, that helped, thanks. Once the unnamed EAnnotation is fixed, a problem arises with the references
<eAnnotations references="http://www.eclipse.org/emf/2002/Ecore#//ELong/%http:%2F%2F%2Forg%2Feclipse%2Femf%2Fecore%2Futil%2FExtendedMetaData%"/>
which is a deeply suspect serialization that of course results in an unresolved proxy. This is silently ignored.
Better to ignore than blow up, but it would be good to announce the bad proxies in some popup.
(In reply to comment #5) > references="http://www.eclipse.org/emf/2002/Ecore#//ELong/%http:%2F%2F%2Forg%2Feclipse%2Femf%2Fecore%2Futil%2FExtendedMetaData%"/> > > which is a deeply suspect serialization No it's fine; just looks wierd. --------------- Annotations may now be unnamed. The Annotation syntax for references now has a reference keyword; the previous syntax just didn't work. However not all elements can be identified textually so Bug 354621 covers the enhancement to support all references. The improved code pushed to master for M1 supports the external URI in the example and simple internal named references. CLOSED after a year in the RESOLVED state. |