SAP-samples / cloud-cap-samples

This project contains sample applications for SAP Cloud Application Programming Model.
https://cap.cloud.sap/
Apache License 2.0
479 stars 497 forks source link

error when deploying following openSAP-week3-unit5 #85

Closed silasd23 closed 4 years ago

silasd23 commented 4 years ago

Hello everyone !

I'm having some troble whyle trying to run the example of week 3 unit 5 of open sap course https://github.com/SAP-samples/cloud-cap-samples/tree/openSAP-week3-unit5 https://open.sap.com/courses/cp7/items/y6qAYiWpxGJqIpCYpwzn6

in the homepage i have this errors : image

in the Books page i have this errors : image

i followed the steps in the demo presentend in the course and also checked in the git repository, can someone help me to understand what i have made wrong?

chgeo commented 4 years ago

I think must of the errors is client-side stuff from UI5, which may be ignored. For example, the ServerInfos requests are optional. What is the actual perceived error that you get? Which UIs do not work?

Also CCing @pianocktail, who is the expert for the unit.

pianocktail commented 4 years ago

The only reason for having the "app" in the CF deployment in the example is to show how the approuter is doing the redirection to XSUAA and getting a JWT token. Testing the authorizations is much easier to be done locally. This is also what is shown in the demos.

silasd23 commented 4 years ago

shown

Yes I know but my problem is that after following all the steps to deploy to Cloud and I execute the command bellow I get errors in the files generated: image

Follow evidence: image

If I deploy this as it is the deployment process will be done with success but if I go to the App i do not have any data in the Database. If I do some changes and fix the files and then do the deploy i got the same error.

Can you or somewone tell me what is wrong ?

chgeo commented 4 years ago

The error above in the editor can be ignored. That's a glitch in the editor.

For the missing data, how have you verified this? Troubleshooting tips:

chgeo commented 4 years ago

This issue channel will be closed. If the error persists, please report it in our community.