Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
Description
If you create a webflow that needs to serialize object (particularly using command objects) the webflow will fail since org.hibernate.util.MarkerObject is not serializable
-
- grails-defect.txt
- 25/Aug/10 12:56 AM
- 3 kB
- Gregory Pierce
-
Hide
- TestComposite.zip
- 15/Mar/11 7:34 AM
- 352 kB
- Artem Moskalenko
-
- org/hibernate/.../TestComposite/.classpath 0.7 kB
- org/hibernate/.../TestComposite/.project 0.5 kB
- org/.../org.codehaus.groovy.eclipse.preferences.prefs 0.1 kB
- org/hibernate/.../application.properties 0.2 kB
- org/hibernate/util/.../conf/BootStrap.groovy 0.1 kB
- org/hibernate/.../conf/BuildConfig.groovy 1 kB
- org/hibernate/util/.../conf/Config.groovy 4 kB
- org/hibernate/.../conf/DataSource.groovy 0.8 kB
- org/hibernate/.../spring/resources.groovy 0.0 kB
- org/hibernate/.../conf/UrlMappings.groovy 0.2 kB
- org/hibernate/.../RoleController.groovy 4 kB
- org/hibernate/.../UserRoleController.groovy 5 kB
- org/hibernate/.../testcomposite/Role.groovy 0.1 kB
- org/hibernate/.../testcomposite/User.groovy 0.1 kB
- org/hibernate/.../UserRole.groovy 0.2 kB
- org/hibernate/.../i18n/messages.properties 3 kB
- org/hibernate/.../messages_da.properties 3 kB
- org/hibernate/.../messages_de.properties 4 kB
- org/hibernate/.../messages_es.properties 3 kB
- org/hibernate/.../messages_fr.properties 2 kB
- org/hibernate/.../messages_it.properties 2 kB
- org/hibernate/.../messages_ja.properties 2 kB
- org/hibernate/.../messages_nl.properties 3 kB
- org/hibernate/.../messages_pt_BR.properties 3 kB
- org/hibernate/.../messages_pt_PT.properties 3 kB
- org/hibernate/.../messages_ru.properties 4 kB
- org/hibernate/.../messages_th.properties 5 kB
- org/hibernate/.../messages_zh_CN.properties 2 kB
- org/hibernate/util/.../views/error.gsp 2 kB
- org/hibernate/util/.../views/index.gsp 4 kB
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Hide
Artem Moskalenko
added a comment -
Current version of hibernate core (hibernate-core-3.3.1.GA.jar) which comes with hibernate plugin does not have MarkerObject as Serializable. This is fixed in later versions of hibernate.
Show
Artem Moskalenko
added a comment - Current version of hibernate core (hibernate-core-3.3.1.GA.jar) which comes with hibernate plugin does not have MarkerObject as Serializable. This is fixed in later versions of hibernate.
Hide
Artem Moskalenko
added a comment -
Simple project illustrating the problem.
After project run go to
http://localhost:8080/TestComposite/userRole/test
Show
Artem Moskalenko
added a comment - Simple project illustrating the problem.
After project run go to
http://localhost:8080/TestComposite/userRole/test
The issue can be 'worked around' with the following:
enterAccountInformation {
on("submit")
{ AccountCommand accountCommand -> .... //todo: replace this whenever someone fixes the hibernate issue sessionFactory.currentSession.clear() }.to("finish")