Closed gibello closed 7 years ago
The application and its template had all been deleted. Another target definition can successfully be deleted. And still the exception indicates the target is used. :confused:
I'll see whether I can reproduce this issue.
I could not reproduce the problem. I have hypothetisis about what could happen, but it does not go beyond.
If it is possible...
Thanks. :+1:
After verifications, here is what happens.
Then, at undeployment...
To by-pass the lack of secured undeployment, the DM was restarted and statuses were updated by hand. The application and the template can be deleted. The target is not associated with any instance or application. BUT, the usage.properties file still contains items.
So, there are 2 problems in fact:
We should also release all locks related to an application when we delete it.
There is no error in the web admin. We really checked the usage statistics. But we could not reference an application that had been deleted. So, basically, releasing the lock when we delete an application, and checking the locks when we restore applications, is enough.
No error on the javascript console, but exception in the karaf.log: