Opened 6 years ago
Closed 6 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)
by , 6 years ago
| Attachment: | screenshot01a.png added |
|---|
comment:1 by , 6 years ago
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.
by , 6 years ago
| Attachment: | screenshot02a.png added |
|---|
Auto-naming schema with Update option disabled allows to delete the doc
comment:2 by , 6 years ago
| Component: | User Interface → Core |
|---|---|
| Milestone: | 8.5.1 → 8.5.2 |
comment:3 by , 6 years ago
| Cc: | added |
|---|
comment:4 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → 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