Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-201

Concurrent image generation jobs generate more images than necessary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 3.3.1
    • None
    • None

      Removing the Content API from the Imaging module (MGNLIMG-200) revealed an issue with the generation of uncached images in the following test info.magnolia.imaging.caching.CachingImageStreamerRepositoryTest#testRequestForSimilarUncachedImageOnlyGeneratesItOnce.

      ContentParameterProviderFactory used to wrap Content with a SimpleEqualityContentWrapper providing equals and hashCode methods which would eventually allow storing them by CacheBuilder (see c-tor of CachingImageStreamer). Such wrapper does not exist for Node, hence using e.g. BinaryNodeIdentifierParameterProviderFactory would cause the generated images to be never cached locally thus generating and saving the same image multiple times.

        Acceptance criteria

              Unassigned Unassigned
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD