Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4910

Unable to delete custom task from the Business Central Admin page although it's uninstalled from all projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Business Central
    • None
    • False
    • None
    • False
    • Hide

      There is a workaround for this:

      • Create a new project with the same name (PAM_Test) in the same space (My_Test),
      • Install CustomRest task,
      • Uninstall it;
      • Delete the CustomRest task from the Business Central Admin page;
      • Delete PAM_Test from the Business Central.
      Show
      There is a workaround for this: Create a new project with the same name (PAM_Test) in the same space (My_Test), Install CustomRest task, Uninstall it; Delete the CustomRest task from the Business Central Admin page; Delete PAM_Test from the Business Central.
    • ---
    • ---

    Description

      • 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

      {remote/service-repository-storage.xml}

      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>
        ***********************************************

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            rhn-support-bkramer1 Biljana Kramer
            Barbora Siskova Barbora Siskova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: