Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-1744

"OnUpdate" Content policy fires twice when content is uploaded to AVM store via CIFS or FTP

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2 Enterprise
    • Fix Version/s: None
    • Component/s: ZZ_Archive
    • Labels:
      None
    • Environment:
      Windows Vista
      MySQL 5.0
      Tomcat 5.5.23
      Alfresco Enterprise 2.2 branch r12294
    • Resource:
      External
    • Resolution Time Custom Field:
      371 weeks, 3 days, 19 hours, 18 minutes, 8 seconds

      Description

      When content is uploaded to an AVM store via CIFS or FTP, any org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy implementations that are configured get called twice for the new / modified asset. Note that uploading content via the Web Client UI does not cause this to happen - in this case content policies are only called once.

      Although this extension point is rarely used by third party implementers of Alfresco, it is used for XML Metadata Extraction and having that logic invoked twice for a single asset create / update is likely to be problematic.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                pmonks Peter Monks [X] (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: