Hi
In my example, I have 13 items in my trash the action crashes with this error:
Cause
org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:287)
caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:67)
Any idea, why this gives an error?
Thanks in advance
Hello Benjamin,
Welcome to Atlassian Community. It's nice to meet you!
It appears that you've run into the following bug:
The workaround is to purge the affected page individually, and then you can empty the rest of the trash. If you need help narrowing down which page is causing the issue, the bug ticket above mentions some ways to do that.
Let me know if you have any trouble.
Take care,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.