AtlasOfLivingAustralia / volunteer-portal

DigiVol (Biodiversity Volunteer Portal)
https://volunteer.ala.org.au
17 stars 15 forks source link

#552 Fixed issue with deleting tasks from expedition #565

Closed cdausmus closed 2 years ago

cdausmus commented 2 years ago

Had to move transactional code outside of the actor process and into the service itself.

cdausmus commented 2 years ago

Damn, still throwing

ProjectService was unable to calculate project path directory size (possibly already archived?): Object of class [au.org.ala.volunteer.Project] with identifier [2404138]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [au.org.ala.volunteer.Project#2404138]

Hold off reviewing until I can get this fixed.

cdausmus commented 2 years ago

It's no longer throwing an error but it's doing something glitchy which I'll need to come back to.