Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0.2
    • Component/s: CIFS
    • Labels:
      None

      Description

      Follow on from ALF-12812. We need configuration and a test case for the CIFS create shuffle used by Word for Mac 2011.

      ALF-12812 contains the required wireshark capture. In particular the scenario has a different pattern and shuffles both the file and a resource fork at the same time.

      One of the symptoms of this lack of configuration will be loosing version history. So that will be the test case for QA.

        Attachments

          Issue Links

            Activity

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

            From Valery's analysis.

            1. Request "NT Create AndX (#32) comes:

            • file "Word Work File D_1725484373.tmp" is created
            • since file have .tmp extension to node added ASPECT_TEMPORARY
            • also added ASPECT_NO_CONTENT by CIFS

            2. Request "Close Request" (#33, #34) comes:

            • ASPECT_NO_CONTENT deleted
              Since the node has ASPECT_TEMPORARY than the rule not started becase in RuleTypeImpl.triggerRuleType() checks (nodeService.hasAspect(actionedUponNodeRef, ContentModel.ASPECT_TEMPORARY) == false)

            3. Request ""NT Create AndX (№41) comes:

            • file "._Word Work File D_1725484373.tmp" is created
            • since file have .tmp extension to node added ASPECT_TEMPORARY
            • ASPECT_HIDDEN added to the node
            • ASPECT_NO_CONTENT added to the node

            4. Request "Close Request" (#42, #43 (._Word Work File D_1725484373.tmp)) comes:

            • ASPECT_NO_CONTENT deleted

            5. Request "Rename Request" (#176)

            • Word Work File D_1725484373.tmp renamed to text.docx
            • ASPECT_ASPECT_TEMPORARY deleted

            6. Request "Rename Request" (#178)

            • ._Word Work File D_1725484373.tmp renamed to ._text.docx
            • ASPECT_ASPECT_TEMPORARY deleted
            Show
            mrogers Mark Rogers [X] (Inactive) added a comment - From Valery's analysis. 1. Request "NT Create AndX (#32) comes: file "Word Work File D_1725484373.tmp" is created since file have .tmp extension to node added ASPECT_TEMPORARY also added ASPECT_NO_CONTENT by CIFS 2. Request "Close Request" (#33, #34) comes: ASPECT_NO_CONTENT deleted Since the node has ASPECT_TEMPORARY than the rule not started becase in RuleTypeImpl.triggerRuleType() checks (nodeService.hasAspect(actionedUponNodeRef, ContentModel.ASPECT_TEMPORARY) == false) 3. Request ""NT Create AndX (№41) comes: file "._Word Work File D_1725484373.tmp" is created since file have .tmp extension to node added ASPECT_TEMPORARY ASPECT_HIDDEN added to the node ASPECT_NO_CONTENT added to the node 4. Request "Close Request" (#42, #43 (._Word Work File D_1725484373.tmp)) comes: ASPECT_NO_CONTENT deleted 5. Request "Rename Request" (#176) Word Work File D_1725484373.tmp renamed to text.docx ASPECT_ASPECT_TEMPORARY deleted 6. Request "Rename Request" (#178) ._Word Work File D_1725484373.tmp renamed to ._text.docx ASPECT_ASPECT_TEMPORARY deleted
            Hide
            mrogers Mark Rogers [X] (Inactive) added a comment -

            I can't see where test.docx is deleted. Was the wireshark capture from a first "Save As?"

            Show
            mrogers Mark Rogers [X] (Inactive) added a comment - I can't see where test.docx is deleted. Was the wireshark capture from a first "Save As?"
            Hide
            mrogers Mark Rogers [X] (Inactive) added a comment -

            Rather than go around another investigation cycle, I've made a best guess implementation from the details above.

            Let's see if it works. If It fails then I'll need some more wireshark capture and/or some debug logging.

            Show
            mrogers Mark Rogers [X] (Inactive) added a comment - Rather than go around another investigation cycle, I've made a best guess implementation from the details above. Let's see if it works. If It fails then I'll need some more wireshark capture and/or some debug logging.
            Hide
            ctan Craig Tan added a comment - - edited

            This issue is supposed to carry the fix from ALF-12812 to 4.0.x, but it is still not fixed in 4.0.x even it claims it has.

            We've noticed that this is still happening to Enterprise 4.0 (revision 35952). The rule, say, adding the versionable aspect, is not triggered when Word does a "File" > "Save". This has been tested working on 3.4.9 in ALF-12812 and needs to be carried to 4.0.x.

            Thanks

            Show
            ctan Craig Tan added a comment - - edited This issue is supposed to carry the fix from ALF-12812 to 4.0.x, but it is still not fixed in 4.0.x even it claims it has. We've noticed that this is still happening to Enterprise 4.0 (revision 35952). The rule, say, adding the versionable aspect, is not triggered when Word does a "File" > "Save". This has been tested working on 3.4.9 in ALF-12812 and needs to be carried to 4.0.x. Thanks
            Hide
            alfrescoqa Alfresco QA Team added a comment -

            Test case was developed.

            Show
            alfrescoqa Alfresco QA Team added a comment - Test case was developed.
            Hide
            k8n Konstantin K (Inactive) added a comment -

            Works better, but something is still wrong with this in 4.2.b. Versionable aspect is lost on save. File gets new uid. Please reopen the issue. That's on OS X 10.8, over CIFS and using Office 2011 v14.2.4.

            Show
            k8n Konstantin K (Inactive) added a comment - Works better, but something is still wrong with this in 4.2.b. Versionable aspect is lost on save. File gets new uid. Please reopen the issue. That's on OS X 10.8, over CIFS and using Office 2011 v14.2.4.

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                mrogers Mark Rogers [X] (Inactive)
                My watchers:
                Alfresco QA Team, Craig Tan, Konstantin K (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: