Details

      Description

      When using eZ Flow, deleled nodes remain in an eZ Flow block, when they shouldn't.

      Steps to reproduce:

      On eZ Publish 4.7, fully patched, with eZ Flow 2.5, do the following:

      1. On the backend siteaccess, edit the frontpage object and, on the zone of your choice, create a manual eZ Flow block that can contain a limited amount of items e.g. "3 items (manual)";
      2. Add three valid objects e.g. articles. The latest object should have had two nodes/locations;
      3. Publish the frontpage. If you edit the frontpage again, you can verify that now the objects are in the "Online" list;
      4. Delete the node of the latest object that you used on the manual eZ Flow block. Editing the frontpage will reveal that the object node that was just deleted is still listed on the eZ FLow manual block. On the frontend siteaccess, only the two existing objects are displayed, which is correct;
      5. As an extra test, add another valid object to the eZ Flow block and then publish the frontpage. When you edit again, the object with the deleted node is still listed, as before, but now a valid node (the first from the list) is pushed back into the history section. On the frontend siteaccess, only two nodes are displayed, which is wrong. The invalid node on the list is preventing the third, valid node, to be displayed.

      Please refer to the attached screenshot.

        Activity

        Show
        Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/ezflow/pull/53
        Show
        Damien Pobel (Inactive) added a comment - Fixed in ezflow: master: http://github.com/ezsystems/ezflow/commit/85294145e9df392eaa943b9e3fa777209b65a8b3 stable-2.5: http://github.com/ezsystems/ezflow/commit/feeef9eb7c1c13eec62058f4a63ad44a3fd83053 stable-5.0: http://github.com/ezsystems/ezflow/commit/1fe2b1c23183e0688ee917568958aa1c7b31e39e stable-5.1: http://github.com/ezsystems/ezflow/commit/a9398a9caf36c0cd304da7b8772e8c984f197e4d
        Hide
        Joao Pingo (Inactive) added a comment - - edited

        The same problem is still present (tested on master and in 4.7 with all SPs )
        Steps

        1. Created 2 folders "News" and "Conference"
        2. Created 2 Articles in "News" Article 1 and Article 2
        3. Created 2 Articles in "Conference" Article 3 and Article 4
        4. In Article 3 added a location in "News" folder
        5. Edited Home object and added 3 items manual block with all Articles inside News Article 1, Article 2 and Article 3 ( new location )
        6. Verified that in front end all articles are present in the 3 items manual box
        7. Removed News/Article-3 location from article 3
        8. On Frontend verified that only Article 1 and 2 are present - this is correct
        9. On Backend edited home object, Article 3 is still present - this is not correct
        

        Created tc-1747

        Show
        Joao Pingo (Inactive) added a comment - - edited The same problem is still present (tested on master and in 4.7 with all SPs ) Steps 1. Created 2 folders "News" and "Conference" 2. Created 2 Articles in "News" Article 1 and Article 2 3. Created 2 Articles in "Conference" Article 3 and Article 4 4. In Article 3 added a location in "News" folder 5. Edited Home object and added 3 items manual block with all Articles inside News Article 1, Article 2 and Article 3 ( new location ) 6. Verified that in front end all articles are present in the 3 items manual box 7. Removed News/Article-3 location from article 3 8. On Frontend verified that only Article 1 and 2 are present - this is correct 9. On Backend edited home object, Article 3 is still present - this is not correct Created tc-1747
        Hide
        Joao Pingo (Inactive) added a comment -

        Cronjob ezflow-cleanup needs to be run to reflect changes
        php runcronjobs.php ezflow-cleanup
        Fixed test case

        Show
        Joao Pingo (Inactive) added a comment - Cronjob ezflow-cleanup needs to be run to reflect changes php runcronjobs.php ezflow-cleanup Fixed test case
        Hide
        Joao Pingo (Inactive) added a comment -

        Tested on master and 4.7 with tc-1747
        Tests Passed ... QA Done

        Show
        Joao Pingo (Inactive) added a comment - Tested on master and 4.7 with tc-1747 Tests Passed ... QA Done

          People

          • Assignee:
            Unassigned
            Reporter:
            Nuno Oliveira (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 2 days, 2 hours, 30 minutes
              2d 2h 30m