[great-users] Child objects based on a temporary metamodel are not deleted together with its parent

Belschner, Tim tim.belschner at ils.uni-stuttgart.de
Fri May 18 04:38:29 CDT 2018


Hi Kevin,

thank you for the quick reply. Your bugfix also works with my other transformations.
Are you planning to release a new Udm version which includes the bugfix soon? Otherwise, we will install the version you provided already on all other workstations.

Thanks again and regards

Tim

Von: great-users [mailto:great-users-bounces at list.isis.vanderbilt.edu] Im Auftrag von Kevin Smyth
Gesendet: Donnerstag, 17. Mai 2018 21:01
An: A list for GReAT users to share bugs, fixes and ideas <great-users at list.isis.vanderbilt.edu>
Betreff: Re: [great-users] Child objects based on a temporary metamodel are not deleted together with its parent

Hi Tim,

I think this is a bug in Udm.

Can you try this Udm and see if it works:
https://s3.amazonaws.com/downloads.metamorphsoftware.com/Udm_x64.msi
Uninstall your current Udm first

With this Udm, the transform outputs this when run with the code generator (I added uniqueIds to the messages):
Executing with default arguments.
Created globalContainer
Created globalObject 4 in 3
Created globalObject 5 in 3
Created globalObject 6 in 3
Deleted globalContainer 3

Kevin



On Thu, May 17, 2018 at 9:16 AM, Belschner, Tim <tim.belschner at ils.uni-stuttgart.de<mailto:tim.belschner at ils.uni-stuttgart.de>> wrote:
Hello everybody,

I am facing an issue when using a temporary metamodel in a GReAT transformation. There, child objects still exist although their parent object is deleted.
My assumption is, that a destructor for the child objects is missing in the generated code. Or is this an intended functionality?

I set up an example to describe the issue with more detail:
https://cumulus.belschner.org/index.php/s/NkdfcDxwHLgbQqx
PW: GlobalObject123


Thanks and best regards

Tim

_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu<mailto:great-users at list.isis.vanderbilt.edu>
http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/great-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20180518/b87a4f5c/attachment.html>


More information about the great-users mailing list