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

Improve thumbnail listener disablement

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.1
    • Fix Version/s: 11.3, 2021.0
    • Component/s: Renditions
    • Team:
      AT
    • Sprint:
      nxAT 11.1.23, nxAT 11.1.24
    • Story Points:
      1

      Description

      When disabling thumbnail computation thanks to the feature at NXP-28743, asynchronous computation is skipped, but the synchronous listener (firing the async event) is still fired.
      2 problems:

      • it is unnecessary to fire the async listener when disabling computations anyway
      • the synchronous listener still adds facets while computation is supposed to be disabled --> tests at org.nuxeo.ecm.restapi.server.jaxrs.management.TestThumbnailsObject show that the facet is actually needed for later re-computation.

      --> add another check in the synchronous listener, using the same constant in the event context.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 35 minutes
                  35m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.