Alfresco
  1. Alfresco
  2. ALF-11399

Update from 3.4.d to 4.0.b failure

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not a bug
    • Affects Version/s: 4.0.b Community
    • Fix Version/s: Future
    • 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

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

        Activity

        Hide
        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
        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
        Ravi Manthena 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
        Ravi Manthena 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:
            Closed Issues
            Reporter:
            Jesús Báez
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

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