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

With Auditing, cancelled downloads and completed downloads both record READs

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Not a bug
    • Affects Version/s: 5.0.3
    • Fix Version/s: None
    • Component/s: Auditing
    • Labels:
      None
    • Bug Priority:
      Category 3
    • ACT Numbers:

      00652025

      Description

      Summary

      With auditing enabled, a cancelled download is logged as a READ action. There is no difference in the auditing logs between a download that completes and a download that is cancelled.

      I have attached a log file with both valid and cancelled downloads of aaaTest.docx to demonstrate the identical log messages.

      Steps to reproduce

      • Install Alfresco 5.0.3
      • Add the following lines in the global properties file.
        audit.enabled=true
        audit.alfresco-access.enabled=true
        audit.alfresco-access.sub-actions.enabled=true
      • Add the following lines in the Alfresco log4j.properties
        log4j.appender.File.Threshold=TRACE
        log4j.logger.org.alfresco.repo.audit.access.AccessAuditor=TRACE
      • Start and log into Alfresco.
      • Successfully download any document from within Alfresco. (I used firefox)
      • Click download in share again but this time click cancel before the document is saved or downloaded.
      • View the Alfresco.log file for the audit logs.

      Expected Result

      • The cancelled download should not be logged as a Read action or have a different log message from a valid download.

      Actual Result

      • The cancelled download and valid downloads are logged as the same messages. You cannot differentiate between the two.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                ccollins Cody Collins
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel