Getting the below script error while order selection plugin loading the more data due to growing. This error from class sap.dm.dme.podfoundation.extension.PluginControllerExtension in execute plugin function. While growing, aArgs coming as 'Growing' which is of type string but apply function expecting array as a second argument. Due to this, event extension not triggering.
Below is the implementation of the function. There is no type check for aArgs due to which it is going to exception
//class sap.dm.dme.podfoundation.extension.PluginControllerExtension
/**
* Executes the custom extensions member fuction, passing arguments
*
* @param {string} sOverrideMember Name of member function
* @param {list} aArgs List of arguments for function
* @returns {object} Return object based on member function
* @public
*/
PluginControllerExtension.prototype.executeFunction = function (sOverrideMember, aArgs) {
this._logCall(sOverrideMember);
return this[sOverrideMember].apply(this, aArgs);
};
Basically the issue in the below code while calling the execute function, passing the reason as string instead of array
class: sap.dm.dme.plugins.orderSelectionListPlugin.controller.extensions.PluginEventExtension
function: onTableModelUpdateFinished
Error log
Uncaught TypeError: CreateListFromArrayLike called on non-object
at o.executeFunction (PluginControllerExtension-dbg.js:126:38)
at i.onTableModelUpdateFinished (PluginEventExtension-dbg.js:393:30)
at c.<anonymous> (ControllerExtension-dbg.js:105:29)
at c.onUpdateFinished (PluginView-dbg.controller.js:1128:42)
at c.<anonymous> (Controller-dbg.js:117:29)
at c.fireEvent (EventProvider-dbg.js:240:38)
at c.fireEvent (Element-dbg.js:798:44)
at c.fireUpdateFinished (ManagedObjectMetadata-dbg.js:826:49)
at c.<anonymous> (ListBase-dbg.js:1404:9)
at tf (68271bc90518e87a_complete.js:354:500)
Getting the below script error while order selection plugin loading the more data due to growing. This error from class
sap.dm.dme.podfoundation.extension.PluginControllerExtensionin execute plugin function. While growing, aArgs coming as 'Growing' which is of type string but apply function expecting array as a second argument. Due to this, event extension not triggering.Below is the implementation of the function. There is no type check for aArgs due to which it is going to exception
Basically the issue in the below code while calling the execute function, passing the reason as string instead of array
class:
sap.dm.dme.plugins.orderSelectionListPlugin.controller.extensions.PluginEventExtensionfunction:
onTableModelUpdateFinishedError log