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

Don't return unavailable renditions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF02, 8.1
    • Component/s: CMIS, Renditions

      Description

      RenditionServiceImpl.getRendition(doc, renditionName) may return unusable renditions because it calls RenditionServiceImpl.getAvailableRenditionDefinition(doc, renditionName) which fails to call RenditionDefinitionRegistry.canUseRenditionDefinition(renditionDefinition, doc).

      This is also visible through CMIS as it calls RenditionService.getRendition(doc, renditionName.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: