Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18185

Prevent retrieval of stale renditions for non-versionable documents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10
    • Component/s: Renditions

      Description

      Currently, the latest rendition for a non-versionable document is understood to be the rendition with the latest dc:modified property. This definition is problematic, especially for long-running renditions which are common for non-versionable, folderish documents.

      The definition of latest rendition needs to be more precise such that it correlates to the source document's sourceDocumentModificationDate.

      The proposed fix is to define a new datetime rendition schema element rend:sourceModificationDate. The RenditionCreator would populate this value with the source's sourceDocumentModificationDate property value. The RenditionFinder would be modified to exclude renditions whose rend:sourceModificationDate is earlier than the source's sourceModificationDate.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: