Bug 1022410
Summary: | Unable to complete a task with JBPM remote API via JMS due to a no 'current status' match | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Ivo Bek <ibek> | ||||||
Component: | Business Central | Assignee: | Marco Rietveld <mrietvel> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ivo Bek <ibek> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.0.0 | CC: | ibek, kverlaen, msalatin, smcgowan | ||||||
Target Milestone: | ER5 | ||||||||
Target Release: | 6.0.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-08-06 20:07:09 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ivo Bek
2013-10-23 08:47:44 UTC
Created attachment 815275 [details]
the server log
The same issue appears on rhel6-x86_64, Oracle JDK 1.6, and MySQL 5.5. To sum it up, these configurations produce the issue: 1) W2k12, Oracle JDK 1.7, and Postgresql 9.2 2) RHEL6 x86_64, Oracle JDK 1.7, and MSSQL2008R2 3) RHEL6 x86_64, Oracle JDK 1.7, and MySQL 5.5 4) RHEL6 x86_64, Oracle JDK 1.7, and Oracle11gR2 I've reassigned the issue to Marco, because he is dealing with the remote interfaces. But please make sure that you don't use the admin user to interact with tasks. If you can reproduce the issue with another user then we can look into this issue to fix it. Also make sure that the task is started before you are trying to complete it, because if not you will end up with an error like the one that you are pasting here. The exception means the given user was not allowed to complete the task in its current status. Most likely, this is because the task hasn't been started yet, as Mauricio suggested. Ivo, could you please verify that the task was actually started before you try to complete it? Mauricio, I've changed user and the steps to also check the task status and you right that the task wasn't started. java.lang.AssertionError: expected:<InProgress> but was:<Reserved> But there are no exceptions during the start operation as you can see in the server log. Marco, seems there's an issue when trying to start a task through JMS, could you take a look? This was fixed by the commits made for 1025389: Fixed: 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/2b5a326bafdf2c566700a488fe4b37afe22f257a master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/60221be546f0d4b66ab81e5c6efc7d22e597f4a1 Verified in BPMS 6.0.0.ER5 |