Entries of deleted documents in the event log

Requests for new functionality or improvements in existing functionality. Please provide clear descriptions of your request, an example or if possible a real life scenario.
Post Reply
qra
Posts: 28
Joined: Fri Oct 25, 2019 9:08 pm

Entries of deleted documents in the event log

Post by qra »

In Mayan EDMS, when a document is deleted, all related event log entries are also deleted. Sometimes it is very important to get information about the person who deleted the document from the trash can and the person who previously moved the document to the trash. Would you consider adding a feature to add such entries?
User avatar
rosarior
Developer
Developer
Posts: 649
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: Entries of deleted documents in the event log

Post by rosarior »

Yes, this is a limitation of the library we used to track events as it is geared more towards user activities.

For version 4.1 we plan to remove this library and implement the event log from scratch to preserve entries for all deleted objects in the system not just documents.

https://gitlab.com/mayan-edms/mayan-edms/-/issues/618
qra
Posts: 28
Joined: Fri Oct 25, 2019 9:08 pm

Re: Entries of deleted documents in the event log

Post by qra »

It would be great if the event log also included the previous field values for modified and deleted comments, metadata, and document names and descriptions.
User avatar
rosarior
Developer
Developer
Posts: 649
Joined: Tue Aug 21, 2018 3:28 am
Location: Puerto Rico
Contact:

Re: Entries of deleted documents in the event log

Post by rosarior »

We have a branch where we attempted to implement this (https://gitlab.com/mayan-edms/mayan-edm ... extra_data) but it was not possible for several reasons relating to our use of a third party library for event tracking.

We plan to revisit this branch and this attempt after we implement our own event tracking model and remove the third party one being used.
qra
Posts: 28
Joined: Fri Oct 25, 2019 9:08 pm

Re: Entries of deleted documents in the event log

Post by qra »

Thank you for your answer and I will keep my fingers crossed for success.
Post Reply