Svilen Ivanov
04-24-2009, 07:11 AM
When I try to destroy a class in the catalog using web UI, it warns me if the class is already used in any application.
I expected the same behavior using the command line but instead - it destroyed the class without checking if it is used in application. It only warned be that it will destroy the class and its volumes.
As a result - the application got "orphan" instances, which will be removed if I save the application, effectively losing settings, connections, etc. Luckily, I was able to recover by manually editing the ADL descriptor, branching existing instance, and brining it back to catalog.
Would you consider adding reference check before detroying the class in the command line interface as well?
Thanks,
Svilen
I expected the same behavior using the command line but instead - it destroyed the class without checking if it is used in application. It only warned be that it will destroy the class and its volumes.
As a result - the application got "orphan" instances, which will be removed if I save the application, effectively losing settings, connections, etc. Luckily, I was able to recover by manually editing the ADL descriptor, branching existing instance, and brining it back to catalog.
Would you consider adding reference check before detroying the class in the command line interface as well?
Thanks,
Svilen