[OPENAM-5463] REST PUT - realm is created without providing "If-None-Match: *" header in a request Created: 28/Jan/15 Updated: 14/Sep/15 Resolved: 14/Sep/15 |
|
Status: | Resolved |
Project: | OpenAM |
Component/s: | rest |
Affects Version/s: | 12.0.0, 13.0.0 |
Fix Version/s: | 12.0.3, 13.0.0 |
Type: | Bug | Priority: | Major |
Reporter: | Richard Hruza | Assignee: | Quentin CASTEL [X] (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | EDISON | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
OpenAM 13.0.0-SNAPSHOT Build 12231 (2015-January-28 02:39) |
Issue Links: |
|
||||||||||||
Target Version/s: | |||||||||||||
Rank: | 1|hzm4yn: | ||||||||||||
Sprint: | Sprint 78 - Team Newton, Sustaining Sprint 12 | ||||||||||||
QA Assignee: | Richard Hruza | ||||||||||||
Verified Version/s: |
Description |
REST PUT - realm is created without providing "If-None-Match: *" in a request STEP TO REPRODUCE: curl --request PUT --header "iPlanetDirectoryPro: <ADMIN TOKEN>" --header "Content-Type: application/json" --data '{ }' "http://centos6-64.example.com:8080/openam/json/realms/testRealm?_prettyPrint=true" Observed result: { "realmCreated" : "/testRealm" } Expected result: { "code" : 400, "reason" : "Bad Request", "message" : "Bad Request" } After fix, please pass this issue to doc.: |
Comments |
Comment by David Luna [ 29/Jan/15 ] |
CR-5927 |
Comment by David Luna [ 03/Feb/15 ] |
svn 12313 |
Comment by Richard Hruza [ 04/Feb/15 ] |
Verified with: OpenAM 13.0.0-SNAPSHOT Build 12328 (2015-February-04 02:47) curl --request PUT --header "iPlanetDirectoryPro: <ADMIN TOKEN>" --header "Content-Type: application/json" --data '{ }' "http://riso-centos7.test.forgerock.com:8080/openam/json/realms/testRealm?_prettyPrint=true" { "code" : 404, "reason" : "Not Found", "message" : "Cannot update realm." } |
Comment by Quentin CASTEL [X] (Inactive) [ 14/Sep/15 ] |
Fixed in 12.0.2 r15675 |