Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-14327

AOS/EditOnline corruption on imported data or contents without “Versionable” aspect

    Details

      Description

      Contents become corrupted when Edit online action is performed on imported data from Alfresco version 4.1.x to version 5.0.x and saved back to alfresco.

      Steps to reproduce

      1. Install Alfresco version 4.1.9 and upload several office documents.
      “Versionable” aspect is not added to these documents when uploaded.

      2. Upgrade Alfresco to version 5.0.1.

      3. Edit online imported documents. After modifying the document save it back and refresh Alfresco page.

      Observed behaviour
      Document is corrupted, although Versionable aspect is added.

      Expected behaviour
      Updated version of document is correctly displayed.

      Analysis to date

      • The issue happens for all contents that don't have "Versionable" aspect. (imported or new uploaded)
      • The issue doesn't happen for new uploaded files since in version 5.0 Versionable aspect is added by default when document is uploaded however Alfresco 4.1 doesn't add versionable aspect when document is uploaded.
      • This issue has been reproduced with Office 2010

      Workaround
      Add "Versionable" aspect to all imported office documents(through rule or script or manually).

      Customer's comment
      A rule could be used to fix this on any updated content, but this would still require these files to be updated to trigger this. We would like to ideally use a script to add the aspect to content missing it. We also would like all content to automatically have the versionable aspect regardless if uploaded via share, aos, webdav, cmis, or ftp (in a recommended way supported by alfresco)

        Attachments

        1. 01_ImportedDocNotVersionable.jpg
          01_ImportedDocNotVersionable.jpg
          86 kB
        2. 02_ImportedDoc.jpg
          02_ImportedDoc.jpg
          89 kB
        3. 03_EditOnline_Save.jpg
          03_EditOnline_Save.jpg
          146 kB
        4. 04_AfterSave.jpg
          04_AfterSave.jpg
          70 kB
        5. 05_DocAspects.jpg
          05_DocAspects.jpg
          96 kB
        6. 1.png
          1.png
          226 kB
        7. 2.png
          2.png
          167 kB
        8. 3.png
          3.png
          181 kB
        9. 4.png
          4.png
          226 kB
        10. 5.png
          5.png
          186 kB
        11. 6.png
          6.png
          172 kB
        12. 7.png
          7.png
          208 kB

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                rabbaspour Rosa Abbaspour [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d

                    Structure Helper Panel