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

Error code: 404 on History button for Process Variable of type: org.jbpm.document.DocumentCollection


    • 2023 Week 06-08 (from Feb 6)

      On RHPAM 7.12.1 a process with Document marshalling strategy using org.jbpm.document.DocumentCollection creates variables of type org.jbpm.document.Document named "varname (pos/count)" for each uploaded document.
      On Business Central UI (Process Instances > {select the instance} > Process Variables) for each "varname (pos/count)" there is the History button: history_btn.png
      When this button is clicked, a Dialog (error.png) with the following error is showed:

      Unable to complete your request. The following exception occurred: Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server/services/rest/server/queries/processes/instances/5/variables/instances/myFile%20(1/1)?page=0&pageSize=100'! Error code: 404, message: RESTEASY003210: Could not find resource for full path: http://localhost:8080/kie-server/services/rest/server/queries/processes/instances/5/variables/instances/myFile%20(1/1)?page=0&pageSize=100.

      So it seems like " " (single space) is correctly escaped to "%20" but "/" is not escaped to "%2F" from original {varName} = "myFile (1/1)".

      This is a simple reproducer bpmn file: BusinessProcess.bpmn

        1. BusinessProcess.bpmn
          12 kB
        2. DocumentHistory.zip
          57 kB
        3. error.png
          83 kB
        4. history_btn.png
          42 kB

            ftirados Francisco Javier Tirado Sarti
            rhn-support-dmammare Daniele Mammarella
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            0 Vote for this issue
            4 Start watching this issue