Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Critical 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.

        Issue Links

          Activity

          Hide
          Mark Rogers 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
          Mark Rogers 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
          Mark Rogers added a comment -

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

          Show
          Mark Rogers added a comment - I can't see where test.docx is deleted. Was the wireshark capture from a first "Save As?"
          Hide
          Mark Rogers 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
          Mark Rogers 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
          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
          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
          Alfresco QA Team added a comment -

          Test case was developed.

          Show
          Alfresco QA Team added a comment - Test case was developed.
          Hide
          Konstantin K 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
          Konstantin K 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:
              Closed Bugs
              Reporter:
              Mark Rogers
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: