Cannot delete class <Dict_Class_Name> - is used as the type

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Cannot delete class <Dict_Class_Name> - is used as the type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:36 pm

by Glen Richards >> Mon, 2 Aug 2004 5:02:26 GMT

Hi,

Does anyone know what "Cannot delete class <Dict_Class_Name> - is used as the type of a prior version of a property" means. A pointer to the Jade documentation would be great (I couldn't find any reference to it in the Jade documentation.).

It's a message in the jommsg.log file that I got after loading a schema (over an older version of the schema).

Any help much appreciated,


Glen
Encos
Last edited by ConvertFromOldNGs on Wed Aug 12, 2009 10:03 am, edited 1 time in total.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Cannot delete class <Dict_Class_Name> - is used as the type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:36 pm

by allistar >> Mon, 2 Aug 2004 9:22:25 GMT

Just a stab in the dark, but "as the type of a prior version of a property" may mean that you are trying to remove a class that is the type of a property that you have removed but not yet done a database reorganisation for. Try removing all references of this class first (followed by a reorg) and then delete the class. You can use jadloadb to remove a class from the command line without needing to import a full schema extract.

Regards,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: http://www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------
Last edited by ConvertFromOldNGs on Wed Aug 12, 2009 10:04 am, edited 1 time in total.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Cannot delete class <Dict_Class_Name> - is used as the type

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:36 pm

by Glen Richards >> Mon, 2 Aug 2004 21:17:34 GMT

Hi Allistar,

Thanks for the tip - I'll look into it. Yes - I was using the commandFile opiton of jadloadb to rename & delete classes - but this causes enough Jade exceptions that I'm avoiding using it (I've got a PAR open for this).

Cheers,


Glen


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 44 guests

cron