Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17847

tc-497 - Changing a gallery content order in admin interface, requires the cache to be clear before changes appear on correspondent slideshow

    Details

      Description

      Hi,

      If i create a gallery with images, and then i change the priority order, i need to clear cache before the changes are contemplated on the frontpage slideshow.

      Steps to reproduce

      Setup
       
         1. Login to eZWebin Admin Interface as Admin
         2. Click on Content Structure on top menu
         3. Create a new Gallery name "Gallery 1"
         4. Enter Gallery 1
         5. Create an Image Object
         6.  Name: Image 1
         7.  Image: Upload am image from your local computer
         8. Repeat the process until you have 5 Images
       
       
      Verify that Gallery 1 is working
       
         1. Open eZWebin site in a diferent Tab form your browser
         2. Click on Gallery 1 link
         3. Click on image named image 1
         4. Using the <<previous and next>> button's verify that all images are present
       
       
      Change Gallery Order to Name
       
         1. On Admin Interface Open Content Structure
         2. Click on Gallery 1 link in the sub-items menu
         3. On the top table select Ordering
         4. Select "Name" ans "Descending"
         5. Press "Set" button
       
       
      Verify that Name Order is correct
       
         1. Open eZWebin site in a diferent Tab form your browser
         2. Click on Gallery 1 link
         3. Click on image named image 5
         4. Using the <<previous and next>> button's verify that all images are presented in the correct order
         5. Image 5 - Image 4 - Image 3 - Image 2 - Image 1
       
      Change Gallery Order to Priority
       
         1. On Admin Interface Open Content Structure
         2. Click on Gallery 1 link in the sub-items menu
         3. On the top table select Ordering
         4. Select "Priority" as "Ascending"
         5. Press "Set" button
         6. On the sub-itens list change priority values:
       
          * Image 3 - Priority 1
          * Image 2 - Priority 2
          * Image 4 - Priority 3
          * Image 1 - Priority 4
          * Image 5 - Priority 5
       
       
      Verify that Priority Order is correct
       
         1. Open eZWebin site in a diferent Tab form your browser
         2. Click on Gallery 1 link
         3. Click on image named image 5
         4. Using the <<previous and next>> button's verify that all images are presented in the correct order
         5. Image 3 - Image 2 - Image 4 - Image 1 - Image 5
       
       
      Change Gallery Order to Same Priority
       
         1. On Admin Interface Open Content Structure
         2. Click on Gallery 1 link in the sub-items menu
         3. On the top table select Ordering
         4. Select "Priority" as "Ascending"
         5. Press "Set" button
         6. On the sub-itens list change priority values:
       
          * Image 1 - Priority 1
          * Image 2 - Priority 1
          * Image 3 - Priority 1
          * Image 4 - Priority 1
          * Image 5 - Priority 1
       
       
      Verify that Priority Order is correct
       
         1. Open eZWebin site in a diferent Tab form your browser
         2. Click on Gallery 1 link
         3. Click on image named image 1
         4. Using the <<previous and next>> button's verify that all images are presented in the correct order
         5. Image 1 - Image 2 - Image 3 - Image 4 - Image 5
       
       
      Change Gallery Order to Publish
       
         1. On Admin Interface Open Content Structure
         2. Click on Gallery 1 link in the sub-items menu
         3. On the top table select Ordering
         4. Select "Publish" as "Ascending"
         5. Press "Set" button
       
      Verify that Publish Order is correct (NOTE: to check this, cache needs to be cleared)
       
         1. Open eZWebin site in a diferent Tab form your browser
         2. Click on Gallery 1 link
         3. Click on image named image 5
         4. Using the <<previous and next>> button's verify that all images are presented in the correct order
       
      	
      

        Issue Links

          Activity

          Hide
          Paulo Nunes (Inactive) added a comment -
          Show
          Paulo Nunes (Inactive) added a comment - The issue is no longer present. (Might have been fixed by https://github.com/ezsystems/ezpublish-kernel/commit/0e361de9d81d5edd6c173e1cfc40ed67ffbdc8d2? )
          Hide
          Geir Arne Waaler added a comment - - edited

          The issue is fixed. I move it to Closed.

          Geir Arne Waaler
          eZ Documentation

          Show
          Geir Arne Waaler added a comment - - edited The issue is fixed. I move it to Closed. Geir Arne Waaler eZ Documentation
          Show
          André R added a comment - Fixed in master: https://github.com/ezsystems/ezwebin/commit/1e00389c0177a8e2b20cd657f3e4dfdc885dc881 https://github.com/ezsystems/ezflow/commit/462d2dacbdc5e1123e87ced8bdb214e4f701b4b6

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Cardiga
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: