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

Failing to extract auditing entries from SearchService (eg. using Share) or CMISQueryService

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.1.2.1, 5.1
    • Fix Version/s: 5.1.3, 5.2.1
    • Component/s: Auditing
    • Labels:
      None
    • Environment:
      Ubuntu 12.04 LTS X64 | MySQL 5.6 | Tomcat 7.0.59

      Description

      Steps to reproduce

      1. Deploy searchAudit.xml (attached) to extension/audit folder
      2. Enable Auditing logging
        • log4j.logger.org.alfresco.repo.audit.inbound=DEBUG
          log4j.logger.org.alfresco.repo.audit.AuditComponentImpl=DEBUG
      3. Search for an existing content

      Actual result

      Inspect alfresco.log - output:

          Extracted audit data: 
      	Application:    AuditApplication[ name=SearchAudit, id=6, disabledPathsId=116]
      	Values:         
      		/searchaudit/query/args=null
      		/searchaudit/query/no-error=null
      
      	New Data: 
      		/searchaudit/query/no-error/args=null

      Expected result
      /searchaudit/query/no-error/args not to be null

      Notes

      • Executing the search straight via the SearchService works.
        2017-01-24 11:56:53,312 DEBUG [org.alfresco.repo.audit.AuditComponentImpl] [http-bio-8080-exec-7] 
        New audit entry: 
        	Application ID: 6
        	Entry ID:       125
        	Values:         
        		/searchaudit/query/args/store=workspace://SpacesStore
        		/searchaudit/query/args/language=lucene
        		/searchaudit/query/args/query=content
        		/searchaudit/query/no-error=null
        
        	Audit Data: 
        		/searchaudit/queryX/languageX=lucene
        		/searchaudit/queryX/storeX=workspace://SpacesStore
        		/searchaudit/queryX/queryX=content
        

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  rvellozo Ricardo Vellozo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 week, 2 days, 4 hours, 5 minutes
                    1w 2d 4h 5m

                      Structure Helper Panel