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

        Paulo Bras (Inactive) created issue -
        Paulo Bras (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Gunnstein Lye made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Gunnstein Lye made changes -
        Comment [ A comment with security level 'Employees' was removed. ]
        Yannick Roger (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Yannick Roger [ yannick.roger@ez.no ]
        Yannick Roger (Inactive) made changes -
        Status Development [ 3 ] Development review [ 10006 ]
        Yannick Roger (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 3 hours [ 10800 ]
        Worklog Id 43889 [ 43889 ]
        Yannick Roger (Inactive) made changes -
        Status Development review [ 10006 ] Development Review done [ 10028 ]
        Affects Version/s 5.2 [ 12582 ]
        Affects Version/s 5.1 [ 11280 ]
        Affects Version/s 5.0 [ 10300 ]
        Affects Version/s 5.3-dev [ 12979 ]
        Fix Version/s 4.7 Maintenance [ 12583 ]
        Fix Version/s 5.0 Maintenance [ 11287 ]
        Fix Version/s 5.3 [ 11282 ]
        Fix Version/s 5.1 Maintenance [ 12301 ]
        Fix Version/s 5.2 Maintenance [ 12782 ]
        Yannick Roger (Inactive) made changes -
        Status Development Review done [ 10028 ] Development Acceptance Done [ 10030 ]
        Ricardo Correia (Inactive) made changes -
        Status Development Acceptance Done [ 10030 ] Documentation [ 10010 ]
        Assignee Yannick Roger [ yannick.roger@ez.no ] Ricardo Correia [ ricardo.correia@ez.no ]
        Ricardo Correia (Inactive) made changes -
        Time Spent 3 hours [ 10800 ] 4 hours [ 14400 ]
        Worklog Id 43895 [ 43895 ]
        Ricardo Correia (Inactive) made changes -
        Status Documentation [ 10010 ] Documentation done [ 10011 ]
        Pedro Resende (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Ricardo Correia [ ricardo.correia@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
        Pedro Resende (Inactive) made changes -
        Time Spent 4 hours [ 14400 ] 5 hours, 18 minutes [ 19080 ]
        Worklog Id 43916 [ 43916 ]
        Pedro Resende (Inactive) made changes -
        Assignee Pedro Resende [ pedro.resende@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Yannick Roger (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Yannick Roger (Inactive) made changes -
        Time Spent 5 hours, 18 minutes [ 19080 ] 6 hours, 18 minutes [ 22680 ]
        Worklog Id 43889 [ 43889 ]
        Yannick Roger (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Yannick Roger (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Yannick Roger (Inactive) made changes -
        Time Spent 6 hours, 18 minutes [ 22680 ] 7 hours, 18 minutes [ 26280 ]
        Worklog Id 43889 [ 43889 ]
        Yannick Roger (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ricardo Correia (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Ricardo Correia (Inactive) made changes -
        Time Spent 7 hours, 18 minutes [ 26280 ] 7 hours, 48 minutes [ 28080 ]
        Worklog Id 43895 [ 43895 ]
        Ricardo Correia (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 60614 ] EZ* Development Workflow [ 84612 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 84612 ] EZEE Development Workflow [ 123277 ]

          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