Troubleshooting
Problem
After installing Foundation 9.3 Fix pack 30, on accessing custom menus, SBC application throws the following exception "Ext.MessageBox.show({ title:'Error', msg: 'An error has occurred. Please contact system administrator.', width:300, buttons: Ext.Msg.OK, icon: Ext.MessageBox.ERROR });" With Foundation 9.3 Fix pack 30, out of the box menus work fine in SBC. However, extension/custom menus are not working.
Cause
There was a security related fix provided in Foundation 9.3 Fix pack 30 due to which all the resource entries corresponding to SBC menu items had to be updated.
Resolving The Problem
Resource entries related to SBC out of the box menus have been modified in Foundation Fix pack 30. All the resource entries corresponding to custom/extended menu items needs to be updated as well.
Below is an example of the old entry and the new one for Home Menu. The same has to be followed to update custom/extended menu resources:
OLD Resource -
<Resource ResourceKey="SBCSYS00002" ResourceId="SBCSYS00002" ResourceDesc="Home_Menu" OrigResourceId="" ParentResourceId="SBCSYS00001" Url="sbc/container/ApplicationHome.do?DashboardID=sbcDashboard" ResourceType="SBC_MODULE" ResourceCreateType="SYSTEM" ResourceSeq="10" CanAddToMenu="Y" IsPermissionControlled="N" ShowDetail="" ApplicationName="SBCSYS00001" ServiceKey="" OutputXmlTemplateFileName="" OutputXslTemplateFileName="" FormClassName="" OverrideFormClassName="" BehaviorClassName="" EventComponent="" Jsp="" Javascript="" Binding="" DisplayBinding="" AltImageBinding="" AltImage="" Popup="" DocumentType="" OutputNamespace="" InputNamespace="" ResourceSubType="" Image="" ToolTip="" ViewId="" OverrideEntityId="" SelectionKeyName="" OverrideEntityKeyName="" EntityKeyName="" CloseWindowOnComplete="" IgnoreException="" IgnoreDefaultApi="" Height="0.00" Width="0.00" Input="" Template="" ApiName="" FlowName="" SkipAutoExecute="" HideNavigationPanel="" HideMaxRecords="" SystemKey="" AdapterKey="" ProtocolKey="" Parameter1="" Parameter2="" Parameter3="" Parameter4="" Parameter5="" SuppressDecoration="" Redirector="" ViewGroupId="" Version="" ApplicationCode="sbc" SupportsSearchToDetail="" HelpApplicationCode=""/>
New Resource -
<Resource ResourceKey="SBCSYS00002" ResourceId="SBCSYS00002" ResourceDesc="Home_Menu" OrigResourceId="" ParentResourceId="SBCSYS00001" Url="js:sc.sbc.helper.AppHelper.loadContainerURL("/sbc/container/ApplicationHome.do?DashboardID=sbcDashboard")" ResourceType="SBC_MODULE" ResourceCreateType="SYSTEM" ResourceSeq="10" CanAddToMenu="Y" IsPermissionControlled="N" ShowDetail="" ApplicationName="SBCSYS00001" ServiceKey="" OutputXmlTemplateFileName="" OutputXslTemplateFileName="" FormClassName="" OverrideFormClassName="" BehaviorClassName="" EventComponent="" Jsp="" Javascript="" Binding="" DisplayBinding="" AltImageBinding="" AltImage="" Popup="" DocumentType="" OutputNamespace="" InputNamespace="" ResourceSubType="" Image="" ToolTip="" ViewId="" OverrideEntityId="" SelectionKeyName="" OverrideEntityKeyName="" EntityKeyName="" CloseWindowOnComplete="" IgnoreException="" IgnoreDefaultApi="" Height="0.00" Width="0.00" Input="" Template="" ApiName="" FlowName="" SkipAutoExecute="" HideNavigationPanel="" HideMaxRecords="" SystemKey="" AdapterKey="" ProtocolKey="" Parameter1="" Parameter2="" Parameter3="" Parameter4="" Parameter5="" SuppressDecoration="" Redirector="" ViewGroupId="" Version="" ApplicationCode="sbc" SupportsSearchToDetail="" HelpApplicationCode=""/>
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21996753