]
Thomas Jenkinson updated JBTM-3180:
-----------------------------------
Fix Version/s: 5.10.0.Final
LRARecord http compliance: Entity null for PUT
----------------------------------------------
Key: JBTM-3180
URL:
https://issues.jboss.org/browse/JBTM-3180
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.9.7.Final
Reporter: Paul Parkinson
Assignee: Michael Musgrove
Priority: Minor
Fix For: 5.10.0.Final
LRARecord has...
case "javax.ws.rs.PUT":
return asyncInvoker.put(Entity.text(null));
whereas entity should never be null for PUT
I see this comment has been there since the code was first added and so perhaps this is
the desired...
// return asyncInvoker.put(Entity.entity(compensatorData,
mediaType));
If not perhaps simply Entity.text("") should suffice (and has in my tests).