cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 custom app component-preload.js file code changed after moving to quality system

0 Kudos
1,274

Hi

I've recently migrated one of my applications from webide to VSCode environment. The app is working perfectly on development system. But after transporting the app to quality system, the component-preload.js file code is getting changed automatically. I can see trailing + signs at the end of each line.

Because of this, the componen-preload.js file is not getting loaded and the app is also not working.

PFA screenshot of the code.

Accepted Solutions (1)

Accepted Solutions (1)

Hi

Thanks for answering. In my case, the issue was somehow ui5repositorypathmapping.xml file doesn't have entries for component-preload file. The code changes observed in the screenshot are also not really incorrect and are expected.

I've uploaded a dummy app code first and then re-uploaded the original app. This forced the ui5repositorypathmapping to have correct entries again and made my app work as expected

Answers (1)

Answers (1)

zamboni
Explorer
0 Kudos

Hi, I had a very similar problem, when migrating my projects to VSCode I noticed that the Component.preload file was not updated according to my changes to the code, so the file was not loaded correctly and the application did not start, so the I changed it manually, get your component-preload format file so you can understand the structure and replace it with your codes that are in the files manually.

Community Verified icon