Bug 1174828
Summary: | Unknown and unsupported (composed) query params in REST 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: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.1.0 | CC: | alazarot, kverlaen, mbaluch |
Target Milestone: | ER6 | Keywords: | TestBlocker |
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:42:49 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-12-16 14:53:42 UTC
Fixed. Commits: 6.2.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/c724f38f master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/0afe2bb5 One more commit for a test fix. Commits: 6.2.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/c1ac7234 master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/db756fd0 Verification failed in BPMS 6.1.0.ER5 The issue persists, see: responding with status 400: org.kie.remote.services.rest.exception.KieRemoteRestOperationException: varregex_myobj is an unknown and unsupported query param for the /business-central/rest/query/runtime/task operation I believe that's because "checkSpecial" parameter is not set to true in runtime/task and runtime/process operations during checkIfParametersAreAllowed(params, QueryResourceData.getQueryParameters(), oper); I would say that there should be: checkIfParametersAreAllowed(params, QueryResourceData.getQueryParameters(), true, oper); on these places: https://github.com/droolsjbpm/droolsjbpm-integration/blob/c724f38f5aa98eb2f4420481298d880ea4af71a5/kie-remote/kie-remote-services/src/main/java/org/kie/remote/services/rest/QueryResourceImpl.java#L60 https://github.com/droolsjbpm/droolsjbpm-integration/blob/c724f38f5aa98eb2f4420481298d880ea4af71a5/kie-remote/kie-remote-services/src/main/java/org/kie/remote/services/rest/QueryResourceImpl.java#L78 Ivo, good catch, thank you for taking the time to find the cause as well! Also, my apologies: this was a stupid mistake! Fixed. Commits: 6.2.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/caf0a03c master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/4b0c075b Verified in BPMS 6.1.0.ER6 |