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

Renditions doclib and webpreview accumulates (not replaced) when creating new version using Edit Offline

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.a Community
    • Fix Version/s: 4.0 Enterprise
    • Component/s: Repository
    • Security Level: external (External user)
    • Labels:
      None

      Description

      For each upload of a new version after offline edit in Share, a new set of cm:doclib and cm:webpreview renditions are created.

      To reproduce
      1. Create a text document.
      2. Select Edit Offline
      3. Upload new version
      4. Repeat step 2-3 a couple of times.
      5. View the children to this document in the node browser.
      Expected: One set of renditions that is updated for each new version
      Actual: 2 new renditions are created for each new version, the old ones kept as children.
      In order to do step 4 you may have to apply my suggested fix/workaround from ALF-10620

      I've also tested this with online edit (make sure you have applied the versionable aspect). The error does not occur in this case.

        Attachments

          Issue Links

            Activity

            Hide
            cosminaru Cosmin Marginean added a comment -

            @Roy - we are looking for a patch to this problem and can't really upgrade.
            Are you able to point us to an SVN revision where this was committed?

            Thank you,
            Cosmin

            Show
            cosminaru Cosmin Marginean added a comment - @Roy - we are looking for a patch to this problem and can't really upgrade. Are you able to point us to an SVN revision where this was committed? Thank you, Cosmin
            Hide
            cosminaru Cosmin Marginean added a comment -

            Found the revision for this patch: 32129.

            Show
            cosminaru Cosmin Marginean added a comment - Found the revision for this patch: 32129.
            Hide
            rmanthena Ravi Manthena [X] (Inactive) added a comment -

            Assigned to Alfresco QA Team Re-Testing
            Use build 681 and SVN Revision number 32368 or later.

            Show
            rmanthena Ravi Manthena [X] (Inactive) added a comment - Assigned to Alfresco QA Team Re-Testing Use build 681 and SVN Revision number 32368 or later.
            Hide
            alfrescoqa Alfresco QA Team added a comment -

            Successfully validated on Alfresco Enterprise v4.0.0с build 681(r 32368), RHEL 5.5 x64bit, MySQL 5.5, mysql-connector-java-5.1.17-bin.jar, Tomcat 6.0.29, JDK 6 u22 x64, WinXP SP3, FF8.0.
            AlexPo.

            Show
            alfrescoqa Alfresco QA Team added a comment - Successfully validated on Alfresco Enterprise v4.0.0с build 681(r 32368), RHEL 5.5 x64bit, MySQL 5.5, mysql-connector-java-5.1.17-bin.jar, Tomcat 6.0.29, JDK 6 u22 x64, WinXP SP3, FF8.0. AlexPo.
            Hide
            mrgrechkinn Eugene added a comment -

            What about custom child associations, they are accumulates (not replaced) when creating new version using Checkout/Checkin in webscript.
            Please see https://forums.alfresco.com/en/viewtopic.php?f=7&t=41565

            Show
            mrgrechkinn Eugene added a comment - What about custom child associations, they are accumulates (not replaced) when creating new version using Checkout/Checkin in webscript. Please see https://forums.alfresco.com/en/viewtopic.php?f=7&t=41565

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                loftux Peter Löfgren
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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