[PUBLISHING-159] Inaccurate information when auditing Created: 28/Oct/22  Updated: 15/Nov/22  Resolved: 15/Nov/22

Status: Closed
Project: Publishing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.0, 1.3.6

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Marek Strucka
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Problem/Incident
relation
Sub-Tasks:
Key
Summary
Type
Status
Assignee
PUBLISHING-160 Implementation Sub-task Completed Marek Strucka  
PUBLISHING-161 Review Sub-task Completed Milan Divilek  
PUBLISHING-162 PiQA Sub-task Completed Milan Divilek  
PUBLISHING-163 QA Sub-task Completed Jaroslav Simak  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Support
Sprint: DevX 23
Story Points: 3
Team: DeveloperX

 Description   

Steps to reproduce

  1. Go to Magnolia Demo and enable auditing for publish, unpublish and delete actions
  2. Login as eric and delete the /travel/contacts page
  3. Login as Peter and publish the deletion
  4. Login as superuser and check the audit-log
  5. Check that instead of eric, the superuser appears as the actor who deleted the page

Expected results

eric appears as the user who deleted the page

Actual results

superuser is shown as the user who deleted the page

Workaround

N/A

Development notes

Attached the logs for the steps described above:

28.10.2022 06:36:40, delete, 1666939000823000, eric, website, mgnl:area, /travel/contact/main
28.10.2022 06:36:40, delete, 1666939000861000, eric, website, mgnl:area, /travel/contact/footer
28.10.2022 06:36:41, delete, 1666939001534000, eric, website, mgnl:area, /travel/contact/confirmation/main
28.10.2022 06:36:41, delete, 1666939001572000, eric, website, mgnl:area, /travel/contact/confirmation/footer
28.10.2022 06:36:42, delete, 1666939002132000, eric, website, mgnl:area, /travel/contact/variants/variant-0/main
28.10.2022 06:36:42, delete, 1666939002158000, eric, website, mgnl:area, /travel/contact/variants/variant-0/footer
28.10.2022 06:36:42, delete, 1666939002541000, eric, website, mgnl:area, /travel/contact/variants/variant-1/main
28.10.2022 06:36:42, delete, 1666939002567000, eric, website, mgnl:area, /travel/contact/variants/variant-1/footer
28.10.2022 06:36:43, delete, 1666939002946000, eric, website, mgnl:area, /travel/contact/variants/variant-2/main
28.10.2022 06:36:43, delete, 1666939002971000, eric, website, mgnl:area, /travel/contact/variants/variant-2/footer
28.10.2022 06:37:19, delete, 1666939039863000, System [peter], workflow, mgnl:workItem, /workItems/2022/9/28/1666938650461
28.10.2022 06:37:24, unpublish, peter, website, mgnl:page, /travel/contact
28.10.2022 06:37:24, delete, 1666939044550000, superuser, magnolia-mgnlVersion, mgnl:page, /53/ea/4e/53b073cc-ea3a-4e44-bdea-8c8a790b55c5
28.10.2022 06:37:24, delete, 1666939044847000, superuser, website, mgnl:page, /travel/contact
28.10.2022 06:37:24, delete, 1666939044946000, SystemUser, workflow, mgnl:processInstance, /processInstances/2022/9/28/1666938650404
28.10.2022 06:37:24, delete, 1666939044964000, SystemUser, workflow, mgnl:processInstance, /processInstances/2022/9/28/1666938650403
28.10.2022 06:37:24, delete, 1666939044967000, SystemUser, workflow, mgnl:folder, /processInstances/2022/9/28
28.10.2022 06:37:25, delete, 1666939045027000, SystemUser, workflow, mgnl:workItem, /workItems/2022/9/28/1666938650462
28.10.2022 06:37:25, delete, 1666939045030000, SystemUser, workflow, mgnl:folder, /workItems/2022/9/28



 Comments   
Comment by Jaroslav Simak [ 09/Nov/22 ]

Description is imho inaccurate – it's actually eric who deleted the page, peter just approved the request.

Generated at Mon Feb 12 10:35:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.