-1

I have deployed one SAPUI5 template worklist app in SAP Cloud Platform and when I try to run it in the cloud platform via the link that is accessible in cockpit I get the following error.

It is strange for me as I can run it in WEBIDE and ABAP Repository.

Uncaught (in promise) TypeError: o.getLogonSystem(...).isTrial is not a function

Error in SAP cloud platform when running the app

MJBZA
  • 4,796
  • 8
  • 48
  • 97

1 Answers1

0

This function must only be available after library-preload is done. Make sure that you are not declaring the libraries in init section.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
  • I don't declare or revoke this function at all. And that is the problem. It seems this is an internal function of the SAPUI5 and it is not defined in their Cloud version of the UI5 library. – MJBZA Mar 28 '19 at 15:21
  • So invoke all libraries, the same way as sapwebide does, make use of developer tools – Denis Sirbu Mar 28 '19 at 16:57
  • It must be done automatically. I don't have to invoke any libraries. That is not the solution. It must invoke a library when it is needed. It has a lazy binding mechanism. – MJBZA Mar 29 '19 at 06:25
  • What is the version of SAPUI5 on the cloud and when you run via WEB IDE? You can check via "sap.ui.version". – Geraldo Megale Mar 29 '19 at 12:26