Index: branches/5.1.x/core/units/site_domains/site_domain_eh.php =================================================================== diff -u -N -r13874 -r13989 --- branches/5.1.x/core/units/site_domains/site_domain_eh.php (.../site_domain_eh.php) (revision 13874) +++ branches/5.1.x/core/units/site_domains/site_domain_eh.php (.../site_domain_eh.php) (revision 13989) @@ -1,6 +1,6 @@ Name == 'OnItemBuild') { + // check permission without using $event->getSection(), + // so first cache rebuild won't lead to "ldefault_Name" field being used + return true; + } - $permissions = Array ( - 'OnItemBuild' => Array ('self' => true), - ); - - $this->permMapping = array_merge($this->permMapping, $permissions); + return parent::CheckPermission($event); } /**