cancel
Showing results for 
Search instead for 
Did you mean: 

sapui5 oData /ui5/ui5_Repository_load index of undefined component.js not found

former_member202213
Participant
0 Kudos

hi everyone,

here was I tried to do :

i deployed my project to my SAP backend directly in webide. i did customizing to obtain my tile in fiorilaunchpad.

everything seems fine except that there is a problem since additionnal resources added to main project are not deployed this way (googlemaps).

I tried another solution : export the project to .zip and download it in back end with /ui5/ui5_repository_load.

unfortunately, since I did that :

- I couldn't deploy my project anymore from web ide. i obtain a message "Cannot read property 'indexOf' of undefined" in F12, I don't have much precision.

- my tile doesn't work. I have the message "Failed to load UI5 component for navigation intent #Z_EDFOA_C13-create - Error: failed to load 'Oa_solaire_C13/Component.js' from /sap/bc/ui5_ui5/sap/ZOA_SOLAIRE_C13/~D50A1DFAC1A8FF4FBBA44013490B4FB3~C/Component.js: 404 - NOT FOUND sap.ushell.renderers.fiori2.Shell.controller

I think that it is related to Component.js file not found with LPD_CUST customizing.

do I have to change something in LPD_CUST ? in SE80 my BSP doesn't have the same tree organisation as before.

component.js is in ZOA_SOLAIRE_C13/Fragments de pages/webapps and not directly at ZOA_SOLAIRE_C13/Fragments de pages as before.

can you help me please ?

here is lpd_cust screen copy :

additional information is the name of my project in component.js.

Accepted Solutions (1)

Accepted Solutions (1)

former_member202213
Participant
0 Kudos

I finally found a solution.

you may find it Here

You only need to rename the webapp directory to WebContent.

without this solution, index.html is not retrieved.

thanks Pralat

Answers (4)

Answers (4)

UxKjaer
Product and Topic Expert
Product and Topic Expert
0 Kudos

What version are you on? You should have the choice of ui5, web dynpro and transaction in the target mappings.

Also check your bsp application in se80 whether it is on the root or a webapp folder.

kammaje_cis
Active Contributor
0 Kudos

Did you check in SICF that node ZOA_SOLAIRE_C13 is active?

former_member202213
Participant
0 Kudos

Dear Krishna,

yes It is active. but when i tried to test it from sicf, I obtain the message "file not found".

kammaje_cis
Active Contributor
0 Kudos

Can you just try in a new tab accessing the Component.js without the the hash? , that is "/sap/bc/ui5_ui5/sap/ZOA_SOLAIRE_C13/Component.js"

If it works, it points to corrupted Fiori Cache buster. You just need to run the cache buster program again.

former_member202213
Participant
0 Kudos

Hi Krishna,

SICF is active,

without the hash, the resut is the same.

it seems that it is the program /ui5/UI5_repository_load which change tile mapping behaviour.

until now I haven't find a solution to my problem.

I had to create a new web ide project from scratch and implement each functionality one by one until I had something working.

deploying this project from web-ide and replacing previous version on back-end corrected the problem.

former_member202213
Participant
0 Kudos

Hi Jakob,

thanks for answering.

what will you do instead of lpd_cust configuration in my case ? directly use url in tile configuration ?

I succeeded in correcting my project by creating a new one and implementing view per view until everything is like it was.

UxKjaer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Whrn you deploy from webide it's your first folder that's deployed. When you export your project isn't build. So your path would be wrong. Also using lpd_cust is severely outdated. You should reconsider your approach to that.

former_member202213
Participant
0 Kudos

Hi Jakob,

what for an url do I have to use :

URL = /sap/bc/ui5_ui5/sap/ZOA_SOLAIRE_C13

ID = Oa_solaire_C13 (name of project in component.js) ?

it doesn't work.