Opened 4 years ago
Closed 4 years ago
#1045 closed bug (fixed)
Unable to delete some files
Reported by: | adminusername | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 8.5.2 |
Component: | Core | Version: | 8.4.2 |
Keywords: | Cc: | awilson@… |
Description
https://logicaldoc.freshdesk.com/a/tickets/7849
We are unable to delete some file in LogicalDoc?. We’re receiving the error
Transaction rolled back because it has been marked as rollback only.
Attachments (5)
Change History (9)
Changed 4 years ago by adminusername
comment:1 Changed 4 years ago by adminusername
The problem occurs as there is an auto-naming scheme on the document class assigned to the document.
This auto-naming schema has activated the Update option.
By removing the Update option it's possibile delete the document.
That appears to be a bug, since while technically the delete of a document itself is an update from the user's point of view this is not the case and the document should be deleted without issues and whithout having to disdable the Update option.
Changed 4 years ago by adminusername
Auto-naming schema with Update option disabled allows to delete the doc
comment:2 Changed 4 years ago by admin
- Component changed from User Interface to Core
- Milestone changed from 8.5.1 to 8.5.2
comment:3 Changed 4 years ago by admin
- Cc awilson@… added
comment:4 Changed 4 years ago by admin
- Resolution set to fixed
- Status changed from new to closed
We fixed the issue and attached two patches here, one for LogicalDOC 8.4.2 and the other one in case you are on LogicalDOC 8.5.1.
To install the patch do as follows:
- Stop LogicalDOC
- Unpack the patch into <LDOC_HOME>/tomcat/webapps/ROOT/WEB-INF/classes
- Start LogicalDOC
Error as seen by the user