NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0018072phplist applicationMessage Send Processpublic02-04-16 14:0617-04-16 12:42
PlatformOSOS Version
Product Version3.2.4 
Target Versionnext patchFixed 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.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker