|
Re: [oclinecore] unable to set EKeys [message #1731309 is a reply to message #1731303] |
Wed, 04 May 2016 08:44 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
https://bugs.eclipse.org/bugs/show_bug.cgi?id=492960 raised
(too late for M7, probably fixed in RC1).
Regards
Ed Willink
On 04/05/2016 09:19, Wilbert Alberts wrote:
> Hi,
>
> I think I might have triggered a bug in the oclinecore editor.
>
> I create Basic.ecore with the following content:
>
> package Basic : Basic = 'http://BasickPackage'
> {
> class NamedElement
> {
> attribute name : String[1];
> }
> }
>
> I also created My.ecore with the following content:
>
> import Basic : 'Basic.ecore#/' ;
>
> package MyPackage : MyPackage = 'http://MyPackage'
> {
> class Foo extends Basic::NamedElement;
> class Bar
> {
> property foo : Foo[?] {
> key name;
> }
> }
> }
>
>
> Note that I want to set the EKeys attribute of the Bar::foo property.
> However, when I save My.ecore from the oclinecore editor, this
> property is not persisted. If I use the tree editor, set the EKeys
> attribute, and save it, it is persisted (and actually looks the same
> as I typed above).
> Interesting is that if NamedElement is contained in My.ecore, then the
> EKeys attribute is persisted correctly.
>
> Is this a bug or did I do something wrong?
>
> Greetings,
> Wilbert.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03211 seconds