[OPENAM-6384] XUI: Sharing resource twice (with another user) fails Created: 14/Jul/15 Updated: 15/Dec/15 Resolved: 07/Aug/15
|Reporter:||Jamie Cavanaugh [X] (Inactive)||Assignee:||James Phillpotts|
|Labels:||AME, TESLA, XUI, release-notes|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Sprint:||Sprint 90 - Team Tesla, Sprint 91 - Team Tesla|
Steps to reproduce:
1) Register an UMA resource as user X
An error is displayed and an exception is in the logs.
Note, that if the user shares with user Y and user Z at the same time (in the same dialog) it appears to work.
|Comment by Jamie Cavanaugh [X] (Inactive) [ 17/Jul/15 ]|
Note this is on build:
OpenAM 13.0.0-SNAPSHOT Build 14532 (2015-July-09 03:09)
|Comment by James Phillpotts [ 17/Jul/15 ]|
I don't know why this even works the first time. Odd.
Anyway, the issue is that the XUI is trying to do an update by PUT every time. Instead it should do a plain PUT if it got a policy field in the resource set request. Otherwise (no policy field) it should do a CREATE-style PUT, by adding a If-None-Match: * header.