Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC: Attempting to GET Workitem in same authenticated client session after PUT update returns response 412, but closing and reauthenticating first works.

Steps:

1. Authenticate client session at base_url/authenticated/identity
2. GET workitem -> returns response 200, appropriate workitem content & header contains first Etag
3. PUT update to workitem -> returns response 200, header contains new Etag, updates workitem in web UI.
4. GET workitem -> returns response 412, empty content, header contains correct new Etag.

If I close the session and reauthenticate the client between steps 3 & 4, the final GET works, so I'm led to believe that something is getting incorrectly cached. Does anyone know what it could be?

0 votes



2 answers

Permanent link

POST is only supposed to be used with the work item creation factory. If you want to update a work item use PUT. 

0 votes

Comments

Sorry, mistake. I am doing a PUT update. Fixed the post.

Please provide the details e.g. example URI, Headers, tool (RestClient) etc. I have not seen this so far.


Permanent link

I tried to reproduce this but I do not see that behavior. I used the OSLC API in Firefox and the Rested extension. EWM 7.1.
Headers:
OSLC-Core-Version:2.0

Accept:application/json or application/rdf+xml
Content-Type:application/json or application/rdf+xml
User-Agent:I am not a browser
ETAG

I recently experienced issues with form based authentication if I used the default User-Agent.....

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,948

Question asked: 2 days ago

Question was seen: 67 times

Last updated: 12 hours ago

Confirmation Cancel Confirm