[great-users] FATAL: ... Association class link
deletewithoutdeleting association class
Attila Vizhanyo
viza at isis.vanderbilt.edu
Thu Jun 3 16:38:22 CDT 2004
Sorry, I was wrong.
This scenario is indeed a bug in CG currently.
The fix is going to be available in the next GReAT release, which should
be out tomorrow.
Meanwhile, you can use the following workaround :
Just simply mark the connection class bound. Since you marked
Requirement2 deleted, the generated code automatically deletes all
objects that are association classes and associated with Requirement2.
Thanks,
Attila
-----Original Message-----
From: Gabriele A. Trombetti
Sent: Thursday, June 03, 2004 14:21
To: great-users
Subject: Re: [great-users] FATAL: ... Association class link
deletewithoutdeleting association class
I don't understand...
Please have a look at the image in attachment (.png ... can you
visualize it?)
What is the "association class"? Is it the "connection" class?
What are the "association links"? It seems I cannot "mark" any of the
lines which you see in black on the lower half of the diagram. The lines
simply do not have a Bind or Delete action attribute. Same for the
connector dot.
Thanks
Gabriele
Attila Vizhanyo wrote:
>Dear Gabriele,
>
>Please make sure that you mark the association _links_ connected to the
>association class deleted. If the problem still persists, send me the
>exported transformation file to viza at isis.vanderbilt.edu .
>
>Thanks,
>Attila
>
>
>-----Original Message-----
>From: Gabriele A. Trombetti
>Sent: Thursday, June 03, 2004 0:26
>To: great-users
>Subject: [great-users] FATAL: ... Association class link delete
>withoutdeleting association class
>
>In a GReAT rule, I'm trying to delete a connection class and the
>
>destination of the connection, at the same time. If I trigger the Code
>Generator, it gives me this error:
>
>Caption="CodeGenerator" Message="FATAL: CG inconsistent state.
>Association class link delete without deleting association class."
>
>If I only delete the destination of the connection (and bind the
>connection) it doesn't give the error (but then what happens to the
>connection? This way seems semantically wrong to me). If I delete only
>the connection and bind the destination it still gives me the error.
>
>What is the correct way of doing what I want to do?
>
>Thanks
>Gabriele
>
>
>
>
More information about the great-users
mailing list