Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
3.3.3, 3.4.9, 3.5.13, 4.0, 4.0.3
-
None
-
MySQL, Windows 7
Description
Summary of Bug
If the description of a space is changed, and the user clicks on 'view changes', Confluence will be faced with errors.
Steps to Reproduce
- Change Space description via Browse > "Space Admin"
- Wait 2-3 minutes (or flush cache)
- In "Recently Updated" in the dashboard, it will say that there have been changes on the space.
- Click on "view change" -> Exception
Findings
Stack trace :
java.lang.ClassCastException: com.atlassian.confluence.spaces.SpaceDescription cannot be cast to com.atlassian.confluence.pages.AbstractPage
at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
...
I have tested this in 4.0.3, 4.0, 3.5.13, 3.4.9, and 3.3.3. All of these versions seem to be affected by this bug.
Attachments
Issue Links
- duplicates
-
CONFSERVER-18379 Macro recently updated creates exception if "view change" is tried for space detail change
- Closed