Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 3.2, 3.3.1, 3.3
    • Fix Version/s: 3.3.3, 3.4
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      OS: Windows / Linux, Alfresco 3.2, PostgreSQL
    • Bug Priority:
      Category 2
    • ACT Numbers:

      15081, 15971, 21639

      Description

      When adding a association to a document and associate some documents. the target associations are gone after copying the source document.

      I've created a Document and added the aspect cm:referencing, so that I was able to reference other document via association cm:references.

      Then I added a few references and copied the node.
      When I took a look at the copy the associations are gone.

      ======================================
      [ Problem ]

      When copying nodes which have associations, only child-association(s) will be included, target associations are missing.

      [ Steps for replication ]

      • Go into the /extension/ folder and activate the example model files (exampleModel.xml and example-model-context.xml)
      • Fix model according to "ALF-5053: Sample model incompatible with default copy behaviour"
      • Go into the web-client-config-custom.xml and uncomment the section which enables the example model content.
      • Start Alfresco.
      • Create two test spaces under Company Home ('test1' and 'test2')
      • Add a document to 'test1' and set the type as 'Standard Operating Procedure', just click finish.
      • Add another two documents to 'test1' as standard content type (these will be our associations).
      • Go into the properties of the first (SOP) document and set the property "signOff" (this is our target association) as one of the second documents.
      • Now set the "processSteps" property as the last document (this is our child association) and click OK.
      • Make a copy of the first (SOP) document.
      • Paste into the 'test2' space.
      • Go into the properties of the copied node.

      [Expected]

      The "signOff" and "processSteps" document links should be present on the copied document.

      [Actual]

      The "processSteps" document is missing

        Attachments

        1. error.log
          7 kB
        2. error.log
          7 kB
        3. SDK Preserve assoc Aspect.zip
          14 kB
        4. SDK Preserve Child Assocs.zip
          10 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  dreiberg Daniel Reiberg (Inactive)
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel