Details

    • Sprint:
      Castor Core S7, Pollux Platform S13
    • Story Points:
      4

      Description

      Generated image variations can't currently be purged as a whole in 5.4. Make it so that running php ezpublish/console liip:imagine:cache:remove --filters=large will remove all the variations for the large alias.

      A new naming scheme of variations should be implemented for newer versions, that makes it much more efficient to purge all variations of an alias.

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          We might have a bit of a problem. Flysystem can't really glob with a wildcard in the middle of a string.It is quite likely that this is because of the lack of this feature on some of the handled filesystems.

          While we have a metadata overlay, one of those metadata overlays uses Flysystem (the one we use for local operations). Maybe this is the root of the issue, but we can hardly go back now. One way would maybe be to have a dedicated service for this, where globbing is taken care of by different handlers.

          Moving the alias to a directory made some things easier, and other more complicated, did it not ?

          Show
          Bertrand Dunogier added a comment - We might have a bit of a problem. Flysystem can't really glob with a wildcard in the middle of a string.It is quite likely that this is because of the lack of this feature on some of the handled filesystems. While we have a metadata overlay, one of those metadata overlays uses Flysystem (the one we use for local operations). Maybe this is the root of the issue, but we can hardly go back now. One way would maybe be to have a dedicated service for this, where globbing is taken care of by different handlers. Moving the alias to a directory made some things easier, and other more complicated, did it not ?
          Hide
          Bertrand Dunogier added a comment -
          Show
          Bertrand Dunogier added a comment - Pull-request for review: https://github.com/ezsystems/ezpublish-kernel/pull/1276 .
          Hide
          Bertrand Dunogier added a comment -

          Merged to master.

          Show
          Bertrand Dunogier added a comment - Merged to master.
          Show
          Bertrand Dunogier added a comment - Added doc on https://doc.ez.no/display/EZP/Image+alias+generation#Imagealiasgeneration-Purgingaliases , what do you think ?
          Hide
          Bertrand Dunogier added a comment -

          I'm actually wondering if all of those aren't because of this: https://github.com/ezsystems/ezpublish-kernel/pull/1438.

          Could you try the PR, and let me know if it changes the situation ?

          Show
          Bertrand Dunogier added a comment - I'm actually wondering if all of those aren't because of this: https://github.com/ezsystems/ezpublish-kernel/pull/1438 . Could you try the PR, and let me know if it changes the situation ?
          Hide
          Bertrand Dunogier added a comment - - edited

          @QA / 2nd line: creating a separate issue for this, as it was a regression that was released: EZP-25019.

          Show
          Bertrand Dunogier added a comment - - edited @QA / 2nd line: creating a separate issue for this, as it was a regression that was released: EZP-25019 .
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for 5.4 and master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for 5.4 and master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Agile