org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has

Đàm Linh January 8, 2025

 

Screenshot from 2025-01-08 17-32-09.png

 

I got the error when I created a plugin to remove item in trash using job runner and method trashManager.purge(spaceKey, contentId). It purged successfully for the first time, but since the second time, I cannot purge even using code or in UI

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2025
Đàm Linh January 9, 2025

Thanks for replying me,

But it still works correctly when running plugin locally but when it is plugged into my confluence instance, it could run only the first time and after that, it causes the spaces that I worked with to not able to restore or purge any page even though I disable the plugin. Is there anyway to prevent that with my plugin.

Đàm Linh January 12, 2025

@Fabio Racobaldo _Herzum_ 

It turns out that after a period of time, I can purge again. But after several purge, I cannot purge again. Is there any mechanism of confluence here?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.2.0
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events