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

Update from 3.4.d to 4.0.b failure

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 4.0.b Community
    • Fix Version/s: None
    • Component/s: Upgrades
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      S.O : Ubuntu 10,04 LTS (2.6.32-34-generic-pae)
      Data Base : MySQL 5.1.41
      Servlet container : Tomcat 6.0.32

      Description

      When upgrading from Alfresco Community 3.4.d to Alfresco Community 4.0.b, the patch "CopiedFromAspectPatch" fails with types that  extends from "sys: base".

      1. Upload the file "my-invoice.txt" to alfresco.
      2. Upload model "myModel.xml" to folder "Data Dictionary / Models" and activated the model
      3. Upload file "tax-script.js" to "Data Dictionary / Scripts"
      4. Create a new folder.
      5. Execute the script "tax-script.js" on the file "my-invoice.txt"
      6. Copy the file "my-invoice.txt" to the new folder from Alfresco Explorer
      7 .Update to Alfresco Community version 4.0.b

        Attachments

        1. contentModel.diff
          0.7 kB
        2. exception-trace.txt
          6 kB
        3. my-invoice.txt
          0.0 kB
        4. myModel.xml
          1 kB
        5. tax-script.js
          0.2 kB

          Activity

          Hide
          dhulley Derek Hulley added a comment -

          Hi
          Thanks for the updated ticket and attachments. This is not a bug (for us).
          Firstly, the cm:copiedFrom aspect requires, as a target, a cm:object. While fixing the cm:copiedFrom aspect, the integrity checking code has discovered the integrity violations introduced by your changed models.
          I recommend that you use cm:object for your tax objects and fix up your current data to match.

          Show
          dhulley Derek Hulley added a comment - Hi Thanks for the updated ticket and attachments. This is not a bug (for us). Firstly, the cm:copiedFrom aspect requires, as a target, a cm:object. While fixing the cm:copiedFrom aspect, the integrity checking code has discovered the integrity violations introduced by your changed models. I recommend that you use cm:object for your tax objects and fix up your current data to match.
          Hide
          rmanthena Ravi Manthena [X] (Inactive) added a comment -

          Closing as the issue has been resolved as 'not a bug'. Please reopen if you do not agree with the action and provide necessary information.

          Show
          rmanthena Ravi Manthena [X] (Inactive) added a comment - Closing as the issue has been resolved as 'not a bug'. Please reopen if you do not agree with the action and provide necessary information.

            People

            • Assignee:
              closedissues Closed Issues
              Reporter:
              jbaez Jesús Báez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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