Symptom
- Error in resolving message longtext URLs after upgrading from SAPUI5 1.120 to 1.136
- Function createUI5Message in class /sap/ui/model/odata/v4/ODataModel.js no longer resolves message longtext URLs correctly
- sResourcePath used during a PATCH request via an association has changed
- sResourcePath now includes the entire association path to the target entity
- The additional srvd segment leads to a 404 Not Found error
- Backend returns a relative URL that assumes a fixed base depth (four levels above the entity path)
- In UI5 1.136, the base path is deeper than before, causing _Helper.makeAbsolute to produce a different absolute URL containing /srvd/
Read more...
Environment
- SAPUI5 version 1.136
- OData V4 model
Product
Keywords
- SAPUI5 1.136, OData V4, createUI5Message, sResourcePath, PATCH request, association path, longtext URL, 404 Not Found, _Helper.makeAbsolute, srvd segment, fixed base depth, upgrade, resolution , KBA , CA-UI5-COR-OD4 , OData V4 Model team , 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.
SAP Knowledge Base Article - Preview