[jbossts-issues] [JBoss JIRA] (JBTM-3180) LRARecord http compliance: Entity null for PUT

Paul Parkinson (Jira) issues at jboss.org
Sat Aug 24 18:52:00 EDT 2019


Paul Parkinson created JBTM-3180:
------------------------------------

             Summary: LRARecord http compliance: Entity null for PUT
                 Key: JBTM-3180
                 URL: https://issues.jboss.org/browse/JBTM-3180
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
          Components: LRA
    Affects Versions: 5.9.7.Final
            Reporter: Paul Parkinson
            Assignee: Michael Musgrove


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).




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list