[jbossts-issues] [JBoss JIRA] (JBTM-3180) LRARecord http compliance: Entity null for PUT
Michael Musgrove (Jira)
issues at jboss.org
Thu Sep 5 05:17:00 EDT 2019
[ https://issues.jboss.org/browse/JBTM-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Musgrove updated JBTM-3180:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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.13.5#713005)
More information about the jbossts-issues
mailing list