-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
None
-
Affects Version/s: 2.7
-
Component/s: None
The com.atlassian.hibernate.HibernateObjectDao#getByClassId method calls session#get(getPersistentClass(), id).
This is prone to the same sort of ClassCastException as CONF-17657 when accidentally called with an id that actually belongs to a sibling class. This wouldn't be the case if we upgraded to the latest version of hibernate 3, which does not suffer from https://hibernate.onjira.com/browse/HHH-1460
- relates to
-
CONFSERVER-17657 java.lang.ClassCastException: com.atlassian.confluence.setup.settings.GlobalDescription cannot be cast to com.atlassian.confluence.pages.AbstractPage
-
- Closed
-