I attempted to set that as my homepage, but the below exception occurred. My homepage was set to my cellar though, and that persisted across sessions. However, trying to change the homepage to any other page resulted in the same exception. Also, while the homepage was remembered, it was not honored at initial log-in, only when clicking the main Beer366 text in the navigation bar. Maybe that's two separate bugs.
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [beer366.User#1]
at beer366.User.getGloballyUniqueBeers(User.groovy:75)
at org.compass.core.accessor.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:124)
at org.compass.core.converter.mapping.osem.ClassMappingConverter.doMarshall(ClassMappingConverter.java:209)
at org.compass.core.converter.mapping.osem.ClassMappingConverter.marshall(ClassMappingConverter.java:97)
at org.compass.core.marshall.DefaultMarshallingStrategy.marshall(DefaultMarshallingStrategy.java:154)
at org.compass.core.impl.DefaultCompassSession.save(DefaultCompassSession.java:484)
at org.compass.core.impl.DefaultCompassSession.save(DefaultCompassSession.java:473)
at org.compass.core.impl.ExistingCompassSession.save(ExistingCompassSession.java:313)
at org.compass.gps.device.hibernate.lifecycle.HibernateEventListener.doUpdate(HibernateEventListener.java:248)
at org.compass.gps.device.hibernate.lifecycle.HibernateEventListener$2.doInCompassWithoutResult(HibernateEventListener.java:141)
at org.compass.core.CompassCallbackWithoutResult.doInCompass(CompassCallbackWithoutResult.java:29)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:133)
at org.compass.gps.impl.SingleCompassGps.executeForMirror(SingleCompassGps.java:151)
at org.compass.gps.device.hibernate.lifecycle.HibernateEventListener.onPostUpdate(HibernateEventListener.java:139)
at beer366.UserController.updateHomepage(UserController.groovy:62)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:195)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
From my cellar page
http://www.beer366.com:8080/cellar/list
I attempted to set that as my homepage, but the below exception occurred. My homepage was set to my cellar though, and that persisted across sessions. However, trying to change the homepage to any other page resulted in the same exception. Also, while the homepage was remembered, it was not honored at initial log-in, only when clicking the main Beer366 text in the navigation bar. Maybe that's two separate bugs.
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [beer366.User#1]