Description of problem: For example when I use ClearHistoryLogsCommand without a deploymentId, I will get the following exception: UnsupportedOperationException: Only commands for the task service are supported when leaving out the deployment id (ClearHistoryLogsCommand) at org.kie.services.client.serialization.jaxb.impl.JaxbCommandsRequest.checkThatCommandsAreTaskCommands(JaxbCommandsRequest.java:143) Since we changed history REST operations to not require a deploymentId, I believe we should remove the requirement also from the commands. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed. Commits: 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/63fdf92c master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/6495e3f3
Moving to 6.0.1 based on the commit date
I return this BZ because in BPMS 6.0.1.ER2 it is not fixed yet .... see the part of DeploymentNotFoundExceptions I get: A deployment id is required for the FindSubProcessInstancesCommand A deployment id is required for the ClearHistoryLogsCommand A deployment id is required for the FindProcessInstancesCommand A deployment id is required for the FindVariableInstancesCommand A deployment id is required for the FindNodeInstancesCommand A deployment id is required for the FindProcessInstanceCommand
Ivo, could you attach a stack trace showing the error? Thanks
Created attachment 876393 [details] server log Marco, you will find the stacktraces in the attached server log.
Fixed. Commits: 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/436600e2 https://github.com/droolsjbpm/droolsjbpm-integration/commit/2c4f88fc https://github.com/droolsjbpm/droolsjbpm-integration/commit/1ce900e2 master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/497805ff https://github.com/droolsjbpm/droolsjbpm-integration/commit/be80df6c https://github.com/droolsjbpm/droolsjbpm-integration/commit/044c4feb
Verified in BPMS 6.0.2.ER2. The changes might have influenced the function of FindVariableInstancesByNameCommand. Here is the filed BZ 1092498.