When using sap.m.routing.Router defining a pattern with optional parameter, the navigation fails if one of the optional parameters is not set and the error "cannot read property 'length' of null" is logged in the browser console.
- Application Routing
SAPUI5, sap.m.routing.Router, Router, Pattern, Optional Parameter, Application, Navigation, cannot read property 'length' of null, console, error , KBA , CA-UI5-COR , Core and Runtime , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.