-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
None
-
Affects Version/s: 5.9.10, 5.8.18, 5.10.8
-
Component/s: Core - Content REST APIs
-
Severity 3 - Minor
Summary
The XML-RPC call getBlogEntry should not throw an exception if we are requesting a Page.
Environment
- Confluence with XML-RPC Enabled
Steps to Reproduce
- Create a page in Confluence
- Create a blog in Confluence
- Get the page IDs of both the page and the blog (Edit the page/blog and copy the ID from the URL)
- Run an XML-RPC call getBlogEntry with the blog ID -> Content of the blog is returned
- Run an XML-RPC call getBlogEntry with the page ID
Expected Results
Payload returns a message that the requested ID is a page and not a blog
Actual Results
Confluence throws a ClassCastException with a message that it could not cast a Page object to a BlogPost object
- is related to
-
CONFSERVER-45760 Confluence getBlogEntry does not always return the full exception message
-
- Closed
-