cancel
Showing results for 
Search instead for 
Did you mean: 

Error while requestObject from odata in handler for process flow onContextchange event

poonambatra07
Explorer
0 Kudos

TEST.js:620 Uncaught (in promise) Error: sap.ui.model.odata.v4.ODataContextBinding: /TestEntity(UUID)[3]| is ignoring response from inactive cache: /service/TestEntity(UUID)?$expand=TestONE($expand=TestTWO)

at h.assertSameCache (ODataBinding-dbg.js:138:13)

onContextChange: function(oEvent) { // Get the control var oControl = oEvent.getSource(); // Get the binding context var oContext = oControl.getBindingContext(); if(oContext) { // Determine the Process flow Context var oContextData= oContext.getModel().bindContext("", oContext, { $expand: `TestONE($expand=TestTWO)` }); oContextData.requestObject('').then(aData => { // Assign the Data }); }); } },

Accepted Solutions (0)

Answers (0)