Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28784

Record management - Missing labels in the audit for retention events



    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF23, 11.1-SNAPSHOT
    • Fix Version/s: 10.10-HF25, 11.1, 2021.0
    • Component/s: Retention



      Retention addon introduces new events to be logged in Nuxeo regarding retention and legal hold. They have to be displayed in both Administration/Audit menu and in the history view of the documents.


      Some events related to the retention actions doesn't have label on the audit (and document history):

      • "activity.afterMakeRecord" (history) or "eventType.afterMakeRecord" (audit) should be "Declared as a record"
      • "activity.afterSetRetention" (history) or "eventType.afterSetRetention" (audit) should be "Retention period applied"
      • "activity.afterSetLegalHold" (history) or "eventType.afterSetLegalHold" (audit) should be "Legal Hold applied" when a user applied the legal hold
      • "activity.afterSetLegalHold" (history) or "eventType.afterSetLegalHold" (audit) should be "Legal Hold removed" when a user removed the legal hold
      • The comment on "activity.afterSetLegalHold" (history) or "eventType.afterSetLegalHold" should not contain the value true or false but only the legal hold description

      cf. Attached screenshot


      Retention events summary

      Event description Event trigger Event label Comment content
      Document becomes a record
      • A user applies a retention rule or a legal hold to the document
      Declared as a record N/A
      Retention rule is applied to a document
      • A user applies a retention rule to the document
      Retention rule applied Retention rule name
      Retention period started
      • A user applies a retention rule to the document when rule is immediate or metadata based
      • The specified event occurs for a document with an event-based retention rule
      • it must NOT be triggered when a user applies an event based retention rule to a document until the specified event occurs
      Retention period started Expiration date in the following format: "YYYY-MM-ddThh:mm:ss.SSSZ"
      Retention period extended
      • A user has extended the retention period
      Retention period updated Expiration date in the following format: "YYYY-MM-ddThh:mm:ss.SSSZ"
      Apply a legal hold
      • A user applies a legal hold to the document
      Legal Hold applied Description added by the user when applied the legal hold
      Remove a legal hold
      • A user removed a legal hold to the document
      Legal Hold removed N/A




          Issue Links



              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created:

                  Time Tracking

                  Original Estimate - Not Specified
                  Not Specified
                  Remaining Estimate - 0 minutes
                  Time Spent - 2 days