]
Galder Zamarreño updated HRJS-76:
---------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Hot Rod 2.5 protocol support broken
-----------------------------------
Key: HRJS-76
URL:
https://issues.jboss.org/browse/HRJS-76
Project: Infinispan Javascript client
Issue Type: Bug
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 0.6.0
Trying to run smoke tests with protocol 2.5 results in failure:
{code}
rm -drf tmp-tests.log && node node_modules/jasmine-node/lib/jasmine-node/cli.js
spec/infinispan_local_spec.js --captureExceptions
FFFF.FFFFFFFFFFFFTypeError: Cannot read property 'decodeMedia' of undefined
at decoderMedia (/Users/g/1/infinispan-js-client/lib/protocols.js:73:43)
at Protocol25.decodeEvent (/Users/g/1/infinispan-js-client/lib/protocols.js:589:28)
at Socket.onData (/Users/g/1/infinispan-js-client/lib/io.js:121:40)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:597:20)
{code}