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

Thomas Jenkinson (Jira) issues at jboss.org
Thu Nov 14 11:04:00 EST 2019


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

Thomas Jenkinson closed JBTM-3180.
----------------------------------


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



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list