-
Bug
-
Resolution: Fixed
-
Medium
-
6
-
Minor
-
1
-
Issue Summary
The request to create a full-width page through the API randomly returns a 500
When creating pages through the REST API, setting the full-width property will randomly cause a 500 status response, even though the page gets created.
Steps to Reproduce
- Try to create multiple pages(100+) through the API, including the property to set the page as full-width:
"metadata": { "properties": { "editor": { "value": "v2" }, "content-appearance-draft": { "value": "full-width" }, "content-appearance-published": { "value": "full-width" } } }
Expected Results
The request should return a 200 every time
Actual Results
Sometimes (around 30% of the time) the request returns a 500 with the following response:
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
Workaround
Create the page without the full-width property set.