Page 1 of 1

change parent class issue

Posted: Fri Aug 07, 2009 1:05 pm
by ConvertFromOldNGs
by news.jadeworld.com >> Mon, 18 Dec 2006 6:16:10 GMT

hi
When I move a subclass from one parent class to another one ,
Jade Prompt:

"Subclass SRGroupCd cannot be moved beacuse at least one of its superclasses has references "

what this prompt message means and how to solv ?

Appreciated for any help.

didier
2006.12.18

Re: change parent class issue

Posted: Fri Aug 07, 2009 1:05 pm
by ConvertFromOldNGs
by BeeJay >> Tue, 19 Dec 2006 3:08:46 GMT

It's a restriction on what can currently be handled by the move class processing. Unfortunately there is no way to "solve" this problem.

We encountered the same problem with some of our recent refactoring and had to create a new class at the desired level instead and then write our own code to "morph" the instances of the old class to the new class and fixup any object references and collections containing instances of the old class.