Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.9.6, 5.9.12
-
Confluence 5.9.6 Standalone on RHEL with Oracle database. Java 8.
-
1
-
Description
In some cases it is not possible to update a particular page over the REST API.
The update is returning the following error:
{ "statusCode":500, "message":"java.lang.IllegalArgumentException: Property with name sync-rev is not a String" }
But updating the page manually over the GUI works fine and the new version is saved without any problems.
When tryin once again to update this page over the REST API it fails again with the same error.
Root cause
It seems that the additional entries in the contentproperties table has caused the problem with updating the page. We are not sure why these additional "sync-rev" entries are added into the table even when it is not used yet.
Steps to reproduce
Unknown
Workaround
Removing the entry related to the sync-rev values directly from the database. :
- Backup the database since this require manual database delete
- run the following SQL query:
// identify how many entries need to be deleted select count( distinct propertyid) from CONTENTPROPERTIES where propertyname='sync-rev'; // delete all of the entries delete from CONTENTPROPERTIES where propertyname='sync-rev';
- restart Confluence instance
- verify if the problem persist
Please try the above on a test instance before you perform it on the production instance
Attachments
Issue Links
- is depended on by
-
DEVHELP-765 Loading...