-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: RM 2.7 EA1
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:RM 2.6 build from feature/
RM-4012_Category_REST_API
-
Bug Priority:
-
Epic Link:
-
Sprint:Flamebird 4 -Carnage
-
Story Points:2
Preconditions:
Rm site is created
Steps to reproduce:
1.Delete the rm site using the DELETE request:
http://localhost:8080/alfresco/api/-default-/public/ig/versions/1/sites/rm
2. Create the site with the POST request :
http://localhost:8080/alfresco/api/-default-/public/ig/versions/1/sites Body: { "visibility": "PUBLIC", "compliance": "STANDARD", "description": "Records Management Site", "title": "Records Management" }
3. Check the RM site exist via a Get Request
http://localhost:8080/alfresco/api/-default-/public/ig/versions/1/sites/rm
If the Get request is sent for the second time then the right response is returned
Actual response:
"error": { "errorKey": "framework.exception.EntityNotFound", "statusCode": 404, "briefSummary": "09270002 The entity with id: rm was not found", "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions.", "descriptionURL": "https://api-explorer.alfresco.com" }
Expected result:
{"visibility":"PUBLIC","compliance":"STANDARD","guid":"447a9d2b-1018-48a8-83e2-0c09774adb7c","description":"Records Management Site","id":"rm","title":"Records Management"}