I am working on SAP Fiori My Opportunity App Customization. I am trying to extend "S2.Controller.js".
When i do "replace with a copy of original controller". I am getting an error while running the app.
Uncaught TypeError: Cannot read property 'sPath' of undefined
It is the standard code and i didnt modify anything. Just extended the controller.
Please help me with this issue.