New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPA Resource will not undelete using PUT #129

Closed
jamesagnew opened this Issue Mar 19, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@jamesagnew
Owner

jamesagnew commented Mar 19, 2015

Reported via Email by Lloyd / Eliott

Lloyd,
Here are the steps I was using, with host fhirtest.uhn.ca:

POST /baseDstu2/Patient
DELETE /baseDstu2/Patient/18570
PUT /baseDstu2/Patient/18570
GET /baseDstu2/Patient/18570

Here's the response I got for the last one:

HTTP/1.1 410 Gone
Date: Wed, 18 Mar 2015 12:55:08 GMT
Server: GlassFish Server Open Source Edition  4.0
X-Powered-By: HAPI FHIR 1.0-SNAPSHOT RESTful Server
Content-Type: application/xml;charset=UTF-8
Connection: close
Transfer-Encoding: chunked

285
<OperationOutcome xmlns="http://hl7.org/fhir">
   <text>
      <status value="generated"/>
      <div xmlns="http://www.w3.org/1999/xhtml">
         <h1>Operation Outcome</h1>
         <table border="0">
            <tr>
               <td style="font-weight: bold;">error</td>
               <td>[]</td>
               <td>
                  <pre>Resource was deleted at 2015-03-18T08:54:37.055-04:00</pre>
               </td>
            </tr>
         </table>
      </div>
   </text>
   <issue>
      <severity value="error"/>
      <details value="Resource was deleted at 2015-03-18T08:54:37.055-04:00"/>
   </issue>
</OperationOutcome>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment