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

Saving files with apps on Mac OS X Lion in CIFS doesn't invoke rules (Update rule fires BEFORE, FileFolderInterceptor recalcs HIDDEN and TEMPORARY )

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4.7, 3.4.8
    • Fix Version/s: 3.4.9
    • Component/s: CIFS, Rules and Actions
    • Labels:
      None
    • ACT Numbers:

      40014

      Description

      Saving documents using some of the Mac apps doesn't invoke rules.

      The apps tested and failed are:

      Preview,
      TextEdit,
      Excel for mac 2011 and
      Word for mac 2011

      Steps to reproduce:
      1. Add a simple out-of-the-box rule to a folder in the repository. See the attached screenshot for the rule we've used, but you can use any rules available.
      2. Connect to the repository via CIFS using Finder.
      3. Open up one of the above mentioned Mac applications, say TextEdit.
      4. Make some changes (e.g. type something) and "File" -> "Save..." the change in CIFS in the folder with the rule added.

      Expected result:

      The file saved in CIFS and the rule executed.

      Actual result:

      The file saved in CIFS but the rule didn't execute.

        Attachments

          Issue Links

            Activity

            Hide
            mrogers Mark Rogers [X] (Inactive) added a comment - - edited

            Problem is that the rules are firing BEFORE the FileFolderInterceptor removes the ASPECT_TEMPORARY. So the rule trigger thinks there's nothing to do.

            Show
            mrogers Mark Rogers [X] (Inactive) added a comment - - edited Problem is that the rules are firing BEFORE the FileFolderInterceptor removes the ASPECT_TEMPORARY. So the rule trigger thinks there's nothing to do.
            Hide
            mrogers Mark Rogers [X] (Inactive) added a comment -

            Reworked FileFolderInterceptor to remove the temporary aspect prior to calling the file folder service to rename. So when the rename fires the Update Rule then the temporary aspect has been removed.

            + New Unit Test

            Show
            mrogers Mark Rogers [X] (Inactive) added a comment - Reworked FileFolderInterceptor to remove the temporary aspect prior to calling the file folder service to rename. So when the rename fires the Update Rule then the temporary aspect has been removed. + New Unit Test
            Hide
            alfrescoqa Alfresco QA Team added a comment -

            Successfully validated against Alfresco Enterprise v3.4.9 (b678); RHEL 5.5 x64, MySQL v5.5.22, Sun Microsystems' JDBC Driver for MySQL mysql-connector-java-5.1.17-bin.jar, Tomcat (installer deployed), Java 6 (installer deployed); Client: Mac OS X Lion 10.7.2, Safari, MS Office 2011 for Mac.
            ChristinaSh

            Show
            alfrescoqa Alfresco QA Team added a comment - Successfully validated against Alfresco Enterprise v3.4.9 (b678); RHEL 5.5 x64, MySQL v5.5.22, Sun Microsystems' JDBC Driver for MySQL mysql-connector-java-5.1.17-bin.jar, Tomcat (installer deployed), Java 6 (installer deployed); Client: Mac OS X Lion 10.7.2, Safari, MS Office 2011 for Mac. ChristinaSh
            Hide
            mrogers Mark Rogers [X] (Inactive) added a comment -

            Issue also caused ALF-13711.

            Show
            mrogers Mark Rogers [X] (Inactive) added a comment - Issue also caused ALF-13711 .
            Hide
            ctan Craig Tan added a comment -

            I noticed this issue is happening in 4.0.x as well (Enterprise 4.0, revision 35952). Is there a JIRA that tracks this fix for 4.0.x? Is it ALF-13176?

            Show
            ctan Craig Tan added a comment - I noticed this issue is happening in 4.0.x as well (Enterprise 4.0, revision 35952). Is there a JIRA that tracks this fix for 4.0.x? Is it ALF-13176 ?

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                ctan Craig Tan
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: