Bug 1078969
Summary: | Enhance the error messages when you send bad parameters via a remote API | ||
---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Ivo Bek <ibek> |
Component: | Business Central | Assignee: | Shelly McGowan <smcgowan> |
Status: | CLOSED EOL | QA Contact: | Ivo Bek <ibek> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0.1 | CC: | kverlaen |
Target Milestone: | ER2 | ||
Target Release: | 6.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-27 19:34:04 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: |
Description
Ivo Bek
2014-03-20 15:58:54 UTC
Fixed. See the code here: https://github.com/droolsjbpm/droolsjbpm-integration/commit/b2793891#diff-22683ad45ad6f7235ec30c4ec752754cR170 Parameters of command requests submitted by the Remote (client) Java API are now checked to make sure that they are not instances of "org.w3c.dom.Element", which the ElementNSImpl class is an instance of. If an 'Element' instance is found, an exception is thrown. Verified in BPMS 6.1.0.ER3 A wrong attempt produces IllegalStateException: Could not unmarshall user-defined class instance parameter of type 'myType2'. |