-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
-
---
-
---
-
-
- RHPAM 7
An attempt to delete custom task (CustomRest) from the Business Central Admin page (Admin >> Custom Tasks Administration) fails with the message:
*********************************
Can not remove custom task CustomRest, as it is in use by at least one project. Please remove it from all projects first.
*********************************
All existing projects in the Business Central show that CustomRest is uninstalled but the message is still there.
We managed to reproduce it in the following way:
- Create a project (PAM_Test) and install CustomRest task (Project -> Settings -> Custom Tasks);
- Delete this project from the space (My_Test) and Business Central;
- Navigate to the Admin >> Custom Tasks Administration and try to delete CustomRest task;
This will fail with the above message.
Looking at the service-repository-storage.xml file inside of .niogit folder the following is still there:
***********************************************
commit 7b6feb31688e9ecbef2689b1bf1f5b62da55db9f
Author: system <system>
Date: Mon Mar 4 14:59:49 2024 +0100
diff --git a/remote/service-repository-storage.xml b/remote/service-repository-storage.xml
index 5f0bcf67..24fad56d 100644
— a/remote/service-repository-storage.xml
+++ b/remote/service-repository-storage.xml
@@ -1187,7 +1187,7 @@
<name>Password</name>
</org.jbpm.process.workitem.repository.service.RepoAuthParameter>
</authparams>
- <enabled>true</enabled>
+ <enabled>false</enabled>
<gav>org.jbpm:jbpm-workitems-customrest:7.75.0-SNAPSHOT</gav>
<installedOn class="linked-hash-set">
<string>My_Test/PAM-Test</string>
***********************************************