Symptom
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.
Read more...
Environment
- SAPUI5
- Application Routing
Product
UI add-on 1.0 for SAP NetWeaver 7.0 ; UI add-on 2.0 for SAP NetWeaver
Keywords
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 page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.