-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 7.7.3
-
Component/s: Macros - Page Properties
-
1
-
Severity 3 - Minor
Issue Summary
The API endpoint /rest/masterdetail/1.0/detailssummary/lines is on, onger wqorking after upgrading to Confluence 7.7.+
Steps to Reproduce
- Add a page properties macro to a page
- Add a page properties report macro to a page
- Call the API endpoint above
- Notice the following error:
call: <HOST>/rest/masterdetail/1.0/detailssummary/lines?cql=label=<labelname>&spaceKey=<SPACEKEY> { "errorCode": 500, "errorType": "UNKNOWN" }
Expected Results
{
"currentPage": 0,
"totalPages": 1,
"renderedHeadings": [
"Jobs",
"People"
],
"detailLines": [
{
"id": 655371,
"title": "Test page",
"relativeLink": "/display/TS/Test+page",
"details": [
"Task 1",
"User A"
],
"likesCount": -1,
"commentsCount": -1
}
],
"asyncRenderSafe": true
}
Actual Results
{
"errorCode": 500,
"errorType": "UNKNOWN"
}
The below exception is thrown in the xxxxxxx.log file:
...
Workaround
- Pass query parameter "contentId" along with the rest request, where the contentId equals the id of the page with the report on it.
- Upgrade Confluence to 7.7.4
- Alternatively, upgrade the plugin directly to confluence-masterdetail-plugin-5.3.11.jar
- Shutdown Confluence
- Go to <conf-install>/confluence/WEB-INF/atlassian-bundled-plugins/
- Backup and delete confluence-masterdetail-plugin-5.3.10.jar
- Check the following directories for cached copies of the plugin and delete if found
- <conf-home>/bundled-plugins/
- <conf-home>/plugin-cache/
- Download new version from this link: confluence-masterdetail-plugin-5.3.11.jar

- Copy the JAR file to <conf-install>/confluence/WEB-INF/atlassian-bundled-plugins/
- Start Confluence
- mentioned in
-
Page Loading...