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

ezflow: adding items to block is not published immediately

    Details

      Description

      the documentation here:
      http://doc.ez.no/Extensions/eZ-Publish-extensions/eZ-Flow/eZ-Flow-2.5/Usage/Block-Management/Block-Management/Adding-content-to-block

      states that items added to blocks are available to be published immediately. however, there is a "safety" introduced in https://github.com/ezsystems/ezflow/blame/master/packages/ezflow_extension/ezextension/ezflow/classes/ezflowoperations.php#L185
      this offset will discard items added less than 5 seconds before the publishing.

      test case:
      1 open any frontpage object, select any manual block type
      2 click the "add item" button
      3 select the item to add
      4 the queries run, and the item in question is added with timestamp X
      5 the admin backend returns to the frontpage object edition
      6 click the "send for publishing" button
      7 the blocks are updated with the information in the ezm_pool at time stamp Y
      8 open the frontpage: the item added is not in the block

      note: the steps 3 to 6 must be performed in less than 5 seconds.
      alternative test: increase the value in ezflowoperations.php#L185 to 60 seconds. now steps 3-6 can be performed in <60s to get the same result.

        Activity

        Hide
        Pedro Resende (Inactive) added a comment -

        Tested and approved by Q.A.

        Show
        Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.
        Hide
        Ricardo Correia (Inactive) added a comment - - edited
        Show
        Ricardo Correia (Inactive) added a comment - - edited The DelayInSeconds setting has been documented in the following location: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/ezflow.ini/SafetyDelay/DelayInSeconds
        Show
        Yannick Roger (Inactive) added a comment - Fixed a small typo in a comment: https://github.com/ezsystems/ezflow/commit/b8c19ad9c0b276eda3c98a427f4cf2f9efc7a73a
        Show
        Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezflow/commit/d040f3c32f8faf4b6fb52d50dadb6b4812d9b580
        Show
        Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/ezflow/pull/59

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Bras (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 7 hours, 48 minutes
              7h 48m