Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2
-
None
-
FireFox 1.04
-
mysql 4.1.12-nt
-
1.5.0_04
-
WinXP sp2
Description
If you try changing a preexisting value this following exception is thrown:
net.sf.hibernate.HibernateException: identifier of an instance of org.roller.pojos.PlanetConfigData altered from 402881e4050ead7701050ebd25e10003 to
at net.sf.hibernate.impl.SessionImpl.checkId(SessionImpl.java:2638)
at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2461)
at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256)
at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1801)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:3601)
at net.sf.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:238)
at org.roller.business.hibernate.HibernatePlanetManagerImpl.getGroup(HibernatePlanetManagerImpl.java:174)
at org.roller.presentation.planet.PlanetConfigAction.saveConfig(PlanetConfigAction.java:124)
[snip]