Bug 1283208 - KieServerClient JSON marshaling does not work for QueryResults and FactHandles
Summary: KieServerClient JSON marshaling does not work for QueryResults and FactHandles
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Kie-Server
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: CR2
: 6.2.0
Assignee: Edson Tirelli
QA Contact: Karel Suta
URL:
Whiteboard:
: 1315636 (view as bug list)
Depends On:
Blocks: 1315636 1315767
TreeView+ depends on / blocked
 
Reported: 2015-11-18 13:01 UTC by Maciej Swiderski
Modified: 2020-03-27 20:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:00:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Maciej Swiderski 2015-11-18 13:01:43 UTC
Description of problem:
in case JSON (and JAXB to some extent - when no classes are added to JAXB context such as FlatQueryResults) it will client side will not properly deserialize response to proper object types.

Version-Release number of selected component (if applicable):


How reproducible:
use JSON or JAXB content type and execute rules that involved use of QueryCommand to collect results
KieServerClient must be used as it's responsible for unmarshmaling response to complete object structure starting at ExecutionResultImpl


Steps to Reproduce:
1.
2.
3.

Actual results:
response is partially unmarshalled and query results are unmarshalled to map of maps which is default for JSON unmarshaller when it cannot find proper object type

Expected results:
complete object is produced without map of maps for queries and fact handles

Additional info:

Comment 4 Karel Suta 2015-12-02 15:05:52 UTC
Verified in 6.2.0CR2.

Comment 5 Edson Tirelli 2016-04-07 02:07:48 UTC
*** Bug 1315636 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.