/
The "OnUpdateAndGoToTab" event is missing permission mapping [5.2.2-B1]

The "OnUpdateAndGoToTab" event is missing permission mapping [5.2.2-B1]

The "OnUpdateAndGoToTab" event is probably live-table variation of the "OnPreSaveAndGoToTab" event is used for navigation between tabs during item editing in Admin Console. The event is submitted via "go_to_list" JavaScript function, that is used in "tab_list" element.

 This is how it can be used in templates:

<inp2:m_DefineElement name="maling_list_tabs">
	<inp2:adm_ListTabs render_as="tab_list" section_name="in-portal:mailing_folder"/>
</inp2:m_DefineElement>

<inp2:m_RenderElement name="tabs_container" tabs_render_as="maling_list_tabs"/>

The mentioned event however isn't listed in the "kDBEventHandler::mapPermissions" method and that's why attempt to render mentioned template fragment ends up in exception.

Solution

  1. either set same access permissions for "OnUpdateAndGoToTab" event as for "OnUpdate" event
  2. or remove "OnUpdateAndGoToTab" event, "go_to_list" JavaScript function and "tab_list" element

Related Tasks