Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Won't Fix
    • Affects Version/s: 4.1.3
    • Fix Version/s: None
    • Component/s: Auditing
    • Labels:
      None
    • Environment:
      linux pg tomcat 4.1.3
    • Bug Priority:
      Category 2
    • ACT Numbers:

      63878 Premier

      Description

      auditing of workflow is not possible

      How to reproduce?
      =================
      1) install a plain vanilla 4.1.3 (linux pg tomcat)
      2) activate auditing:
      audit.enabled=true
      audit.alfresco-access.enabled=true
      3) install the attached XML file (auditalex.xml) into
      shared/classes/alfresco/extension/audit
      4) add to log4j:

      log4j.logger.org.alfresco.repo.audit.AuditComponentImpl=DEBUG
      log4j.logger.org.alfresco.repo.audit.inbound=DEBUG
      log4j.appender.File.Threshold=trace
      log4j.logger.org.alfresco.repo.audit.access.AccessAuditor=trace

      5) restart alfresco
      6) check at http://localhost:8080/alfresco/service/api/audit/control that you see our new application
      {
      "enabled" : true,
      "applications":
      [

      { "name": "Alfresco Sync Service", "path" : "/sync", "enabled" : true }

      ,

      { "name": "Alfresco Tagging Service", "path" : "/tagging", "enabled" : true }

      ,

      { "name": "alfresco-access", "path" : "/alfresco-access", "enabled" : true }

      ,

      { "name": "auditexamplealex", "path" : "/auditexamplealex", "enabled" : true }

      ]
      }
      7) in alfresco explorer, as 'admin' add a file and start and ad-hoc task assigning the task to 'admin' and end the task as admin

      Result:
      ======

      a) we observed in the logs lines that show the application name 'auditexamplealex', but the Entry IDs are null

      2013-05-09 15:15:11,076 DEBUG [repo.audit.AuditComponentImpl] [http-8080-1]
      Extracted audit data:
      Application: AuditApplication[ name=auditexamplealex, id=4, disabledPathsId=5]
      Values:
      /auditexamplealex/endTask/args/transitionId=Next
      /auditexamplealex/endTask/args/taskId=activiti$246

      New Data:

      2013-05-09 15:15:11,077 DEBUG [repo.audit.AuditComponentImpl] [http-8080-1]
      Nothing audited:
      Application ID: 4
      Entry ID: null
      Values:
      /auditexamplealex/endTask/args/transitionId=Next
      /auditexamplealex/endTask/args/taskId=activiti$246

      b) a "select * from alf_audit_entry where audit_app_id=4;" shows no rows

      c) going to http://localhost:8080/alfresco/service/api/audit/query/auditexamplealex shows an empty JSON

      Expected result:
      ===============
      a) we see new entry IDs in the logs
      b) and c) return non empty result sets.

      Notes:
      ======
      1) Customer tries to audit end of worflow and asked for this feature in point 7) of MNT-8488; PM answered that this could be possible to configure auditing for this.
      2) Related to MNT-2458 but that should be fixed in 4.1.3

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  amadon Alex Madon [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel