Index: branches/unlabeled/unlabeled-1.17.2/core/kernel/utility/event.php
===================================================================
diff -u -r7642 -r7803
--- branches/unlabeled/unlabeled-1.17.2/core/kernel/utility/event.php (.../event.php) (revision 7642)
+++ branches/unlabeled/unlabeled-1.17.2/core/kernel/utility/event.php (.../event.php) (revision 7803)
@@ -302,6 +302,9 @@
}
if (!$section) {
+ if ($this->Application->isDebugMode()) {
+ $this->Application->Debugger->appendTrace();
+ }
trigger_error('Permission section not specified for prefix '.$top_prefix.'', E_USER_ERROR);
}
return $section;
Index: branches/unlabeled/unlabeled-1.9.2/core/units/translator/translator_event_handler.php
===================================================================
diff -u -r6628 -r7803
--- branches/unlabeled/unlabeled-1.9.2/core/units/translator/translator_event_handler.php (.../translator_event_handler.php) (revision 6628)
+++ branches/unlabeled/unlabeled-1.9.2/core/units/translator/translator_event_handler.php (.../translator_event_handler.php) (revision 7803)
@@ -25,7 +25,7 @@
{
list($prefix, $field) = $this->getPrefixAndField($event);
- $top_prefix = $this->Application->GetTopmostPrefix($prefix);
+ $top_prefix = $this->Application->GetTopmostPrefix($prefix, true);
$event->setEventParam('top_prefix', $top_prefix);
return parent::CheckPermission($event);
}