Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-4655

High level audit does not include initial node properties or change path if node moved

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 3.4.4
    • Fix Version/s: 3.4.5
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Any
    • Bug Priority:
      Category 4
    • Testcase ID:
      Hide

      Rep-1096

      Show
      Rep-1096

      Description

      • Enable debug from AccessAuditor by adding the following to <tomcat>\shared\classes\alfresco\extension\dev-log4j.properties
        log4j.appender.File.Threshold=debug
        log4j.logger.org.alfresco.repo.audit.access.AccessAuditor=debug
      • Enable high level audit by adding the following to <tomcat>\shared\classes\alfresco-global.properties and restarting.
        audit.alfresco-access.enabled=true
        audit.alfresco-access.sub-actions.enabled=true
      • In Share create a plain text document called ABC
      • Edit Metadata and rename to XYZ
      • check the alfresco.log file for the sections that relate to the creation and move of the node.
        a) The audit of the creation does not include the addition of any properties in the first sub action (sub-action/00/action=createNode)
        b) The audit of the move does not change the path of the node from ...ABC to ...XYZ.

      The log looks like the following:

      Inbound audit values:
      /alfresco-access/transaction/action=CREATE
      ...
      /alfresco-access/transaction/path=/app:company_home/st:sites/cm:aaa/cm:documentLibrary/cm:ABC
      ...
      /alfresco-access/transaction/sub-action/00/action=createNode
      /alfresco-access/transaction/sub-action/01/action=updateNodeProperties
      ...
      ...
      Audit data:
      /alfresco-access/transaction/action=MOVE
      ...
      /alfresco-access/transaction/move/from/path=/app:company_home/st:sites/cm:aaa/cm:documentLibrary/cm:ABC
      /alfresco-access/transaction/path=/app:company_home/st:sites/cm:aaa/cm:documentLibrary/cm:ABC
      ...

      but should look like the following:

      Inbound audit values:
      /alfresco-access/transaction/action=CREATE
      ...
      /alfresco-access/transaction/path=/app:company_home/st:sites/cm:aaa/cm:documentLibrary/cm:ABC
      ...
      /alfresco-access/transaction/sub-action/00/action=createNode
      /alfresco-access/transaction/sub-action/00/properties/add/cm:created=Tue Aug 09 16:12:34 BST 2011
      /alfresco-access/transaction/sub-action/00/properties/add/cm:creator=admin
      /alfresco-access/transaction/sub-action/00/properties/add/cm:modified=Tue Aug 09 16:12:34 BST 2011
      /alfresco-access/transaction/sub-action/00/properties/add/cm:modifier=admin
      /alfresco-access/transaction/sub-action/00/properties/add/cm:name=ABC
      /alfresco-access/transaction/sub-action/00/properties/add/sys:node-dbid=48894
      /alfresco-access/transaction/sub-action/00/properties/add/sys:node-uuid=2c8d3e44-da0b-4c09-a4e6-7d5273c5b087
      /alfresco-access/transaction/sub-action/00/properties/add/sys:store-identifier=SpacesStore
      /alfresco-access/transaction/sub-action/00/properties/add/sys:store-protocol=workspace
      /alfresco-access/transaction/sub-action/01/action=updateNodeProperties
      ...
      ...
      Audit data:
      /alfresco-access/transaction/action=MOVE
      ...
      /alfresco-access/transaction/move/from/path=/app:company_home/st:sites/cm:aaa/cm:documentLibrary/cm:ABC
      /alfresco-access/transaction/path=/app:company_home/st:sites/cm:aaa/cm:documentLibrary/cm:XYZ
      ...

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                adavis Alan Davis
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel