cancel
Showing results for 
Search instead for 
Did you mean: 

failed to preload 'sap.ca.common.uilib.library-preload'

Former Member
0 Kudos

Hi

I am trying to Extend  Std. Travel Request Fiori Aplication and I have created a Z application and imported the files from the Std. Application to Web Content folder.

Now I face below error while I execute the application. and a blank page is shown.

  • failed to preload 'sap.ca.common.uilib.library-preload': SyntaxError: Unexpected token } -  sap.ui.ModuleSystem
  • Call to success handler failed: Cannot read property 'getText' of undefined - TypeError: Cannot read property 'getText' of undefined
  • (while loading user settings): Cannot read property 'getText' of undefined -

Kindly Note that I have not done any changes to the code.

Kindly help

Regards,

VJ

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Madhavan

By chance I was facing the same problem today on the same Application

In our case this error belongs to a UI5 version upgrade (1.24.2). After assigning version 1.22 manually to that application it works fine again.

Hope this helps

Best Regards

Thomas Maier

Former Member
0 Kudos

Hi Thomas,

Is there a standard way to assign a ui5 version manually to standard My Travel Requests application because i'm facing same problem ( Call to success handler failed: Cannot read property 'getText' of undefined - TypeError: Cannot read property 'getText' of undefined ) after installing UIX01TRV (SAPK-10003INUIX01TRV) component.

Our system is also upgraded to UI5 version 1.24.2 and i'm not sure about installing 1.24.3 or higher version.

Thanks a lot,

Serkan YILDIRIM

Former Member
0 Kudos

Hi Serkan

That line solved it to switch back the version to 1.22

   <script src="/sap/public/bc/ui5_ui5/1.22/resources/sap-ui-core.js" type="text/javascript"

Hope this helps.

Best regards,

Thomas Maier

Former Member
0 Kudos

Thanks Thomas, simple is the best

Best regards,

Serkan YILDIRIM