Environment
Novell Filr 1.0.1
Situation
When the site administrator tries to delete a Net Folder from the Net Folder administration UI, the underlying background job to delete the Net Folder fails with SQL errors which are not reflected to the site administrator in the UI and the Net Folder appears deleted. However, re-visiting the Net Folder administration shows the same Net Folder again indicating that the previous deletion attempt was unsuccessful.
Resolution
A patch is available to correct this problem for Novell Filr 1.0.1. Please contact Novell Technical Support with reference to this TID and request the patch.
Additional Information
The following error may appear in the ssf.log file:
2013-11-08 20:28:49,073 ERROR [http-apr-8443-exec-16] [org.kablink.teaming.gwt.server.util.GwtNetFolderHelper] - Error deleting next net folder: My Net Folder 1
org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [org.kablink.teaming.domain.Folder] with identifier [15285]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kablink.teaming.domain.Folder#15285]
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:683)
at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:147)
at org.kablink.teaming.module.binder.impl.BinderModuleImpl.deleteBinderPhase1(BinderModuleImpl.java:3237)
at org.kablink.teaming.module.binder.impl.BinderModuleImpl.deleteBinder(BinderModuleImpl.java:1414)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
....................
....................
Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kablink.teaming.domain.Folder#15285]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1932)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2576)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2476)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2803)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
...............
2013-11-08 20:28:49,073 ERROR [http-apr-8443-exec-16] [org.kablink.teaming.gwt.server.util.GwtNetFolderHelper] - Error deleting next net folder: My Net Folder 1
org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [org.kablink.teaming.domain.Folder] with identifier [15285]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kablink.teaming.domain.Folder#15285]
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:683)
at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:147)
at org.kablink.teaming.module.binder.impl.BinderModuleImpl.deleteBinderPhase1(BinderModuleImpl.java:3237)
at org.kablink.teaming.module.binder.impl.BinderModuleImpl.deleteBinder(BinderModuleImpl.java:1414)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
....................
....................
Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kablink.teaming.domain.Folder#15285]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1932)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2576)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2476)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2803)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
...............