Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1182

'liip:imagine:cache:remove' command doesn't remove related cache items

    XMLWordPrintable

Details

    • eZ Platform, Ibexa Content

    Description

      Steps to reproduce:

      1. Create any image variation:
                site:
                    image_variations:
                        my_var:
                            reference: null
                            filters:
                                - { name: geometry/scaledownonly, params: [ 220, 200 ] }
                    languages: [eng-GB]
                    content_view:
                        full:
                            image:
                                template: full/image.html.twig
                                match:
                                    Identifier\ContentType: [image]
        
      2. Add full/image.html.twig template under app/Resources/views folder with the following content:
        {{ ez_render_field( content, 'image', { parameters: { 'alias': 'my_var'}}) }}
        
      3. Visit any image created in frontend which uses this variation.
      4. Access Redis's CLI and use the following command: KEYS *ibx-ig*.
      5. You should see 2 entries.
      6. Clear variations using liip:imagine:cache:remove command.
      7. Use the KEYS *ibx-ig* command again.

      Result:
      One can see the mentioned command removed the image variation files, but didn't remove the cache entries.

      Expected result:
      Cache entries should be removed.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: