Images Preview Are Broken in Pages or Attachments List Generates a System Error For All or Some Users
症状
- Attaching an image file by drag and drop or uploading it manually works initially, however upon further page refreshes and clearing the browser cache will break the preview of the image.
または
- User A attaches an attachment file to a page. User B is not able to to view the attachment and receives a 500 error, similar to below. User A continues to be able to view the attachment without issue regardless of refreshes or browsers.
または
- Additionally when going to the attachments list of this page and clicking on some of the files produces the following error:
Cause
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:695)
Stack Trace:[hide]
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:695)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at com.sun.proxy.$Proxy12.commit(Unknown Source)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.getStreamInTransaction(ServeAfterTransactionDownload.java:41)
at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:51)
Referer URL
http://Confluence_base_url/pages/viewpageattachments.action?pageId=XXXXXXX&metadataLink=true
原因
It was discovered that this issue was caused by the Tracking Access Plugin.
ソリューション
Disable or remove the Tracking Access Plugin if installed.
最終更新日: 2023 年 2 月 23 日
Powered by Confluence and Scroll Viewport.