Bug 1263977 - [GSS](6.5.x) HotRod client try to unmarhall an object on get() no matter whether the put() use a byte[] or not
Summary: [GSS](6.5.x) HotRod client try to unmarhall an object on get() no matter whet...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Server
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: DR4
: 6.6.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 08:52 UTC by wfink
Modified: 2025-02-10 03:48 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:48:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5758 0 Major Resolved HotRod client try to unmarhall an object on get() no matter whether the put() use a byte[] or not 2017-04-12 09:12:47 UTC

Description wfink 2015-09-17 08:52:18 UTC
Description of problem:
If a client put an object as byte[] into the cache, which is a self serialized class, the get will return the original class (if it is in the class path) instead of the byte[].
This is incompatible to ISPN5 (<JDG6.3) here the byte[] is returned in any case.

It seems this in unintentional due to the smart 'compatibility' mode at client side
https://github.com/infinispan/infinispan/blob/master/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/marshall/MarshallerUtil.java#L35

Expected results:
return a byte array

Comment 2 JBoss JIRA Server 2015-09-18 06:05:01 UTC
Galder Zamarreño <galder.zamarreno> updated the status of jira ISPN-5758 to Coding In Progress

Comment 6 Red Hat Bugzilla 2025-02-10 03:48:12 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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