Index: branches/5.2.x/core/kernel/utility/event.php =================================================================== diff -u -N -r14437 -r14608 --- branches/5.2.x/core/kernel/utility/event.php (.../event.php) (revision 14437) +++ branches/5.2.x/core/kernel/utility/event.php (.../event.php) (revision 14608) @@ -1,6 +1,6 @@ Application->hasObject($this->prefixSpecial) ) { + $top_event =& $this; + + // when OnSave calls OnPreSave in first line, then this would make sure OnSave is used + while ( is_object($top_event->MasterEvent) ) { + $top_event =& $top_event->MasterEvent; + } + + $params['parent_event'] =& $top_event; + } + $object =& $this->Application->recallObject($this->prefixSpecial, $this->pseudoClass, $params); return $object;