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

Paul Parkinson (Jira) issues at jboss.org
Sun Aug 25 21:16:00 EDT 2019


     [ https://issues.jboss.org/browse/JBTM-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Parkinson updated JBTM-3180:
---------------------------------
    Issue Type: Bug  (was: Feature Request)


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