Skip to content
Browse files

MDL-37893 Always notify pending starts before dispatching chunk

  • Loading branch information...
1 parent 176f08e commit 04116863fbaf2aaf18e244b661ca7f5586bb0772 @stronk7 stronk7 committed with mudrd8mz Feb 7, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 backup/util/xml/parser/processors/grouped_parser_processor.class.php
View
3 backup/util/xml/parser/processors/grouped_parser_processor.class.php
@@ -104,7 +104,10 @@ public function after_path($path) {
// currentdata, properly built
$data = $this->currentdata[$path];
unset($this->currentdata[$path]);
+ // Always, before dispatching any chunk, send all pending start notifications.
+ $this->process_pending_startend_notifications($path, 'start');
// TODO: If running under DEBUG_DEVELOPER notice about >1MB grouped chunks
+ // And, finally, dispatch it.
$this->dispatch_chunk($data);
}
// Normal notification of path end

0 comments on commit 0411686

Please sign in to comment.
Something went wrong with that request. Please try again.