View Issue Details

IDProjectCategoryView StatusLast Update
0018072phpList 3 applicationCampaign Send Processpublic16-01-19 09:46
Reporterduncanc Assigned To 
Status resolvedResolutionfixed 
Product Version3.2.4 
Fixed in Version3.2.5 
Summary0018072: Progress messages not displayed when processing queue in the browser
DescriptionWhen processing the queue through the browser the progress messages are never displayed as they occur. Instead they seem to be displayed only when the process has finished and then get immediately replaced by another message.

This seems to be caused by not flushing the output buffer. See file actions/processqueue.php line 405

      print '<script type="text/javascript">
      var parentJQuery = window.parent.jQuery;
      parentJQuery("#processqueue'.$target.'").append(\'<div class="output shade'.$shadecount.'">'.$line.'</div>\');
      parentJQuery("#processqueue'.$target.'").animate({scrollTop:100000}, "slow");
            $shadecount = !$shadecount;
            for ($i = 0;$i < 10000; ++$i) {
                print ' ';
                if ($i % 100 == 0) {
                    print "\n";

After inserting ob_flush() just before flush(), the progress messages were displayed as they happened.
TagsNo tags attached.


There are no notes attached to this issue.