SAP-samples / btp-resource-consumption-monitor

Monitors the CPEA credit consumption of your global account and alerts on increased usage
Apache License 2.0
30 stars 6 forks source link

Only Homepage loads - other sites won't open #13

Closed ZEAL-IT closed 4 months ago

ZEAL-IT commented 4 months ago

Hey guys, the homepage loads successfully, but all other links won't open: Homepage; image

Configure Alerts (same error for other sites) image Any idea what's happening or missing here?

Any help is appreciated, thank you very much, Christopher

willemi069808 commented 4 months ago

Hi Christopher, for this specific issue kindly refresh the HTML5 repo twice as mentioned here: https://github.com/SAP-samples/btp-resource-consumption-monitor?tab=readme-ov-file#known-issues. This is a temporary bug in Work Zone which will be corrected in a next version.

Please confirm if, after the refresh, the application loads successfully, or whether there is a next error in retrieving the "$metadata" as I expect a bug was introduced in the last commit to this repository.

ZEAL-IT commented 4 months ago

Hi Christopher, for this specific issue kindly refresh the HTML5 repo twice as mentioned here: https://github.com/SAP-samples/btp-resource-consumption-monitor?tab=readme-ov-file#known-issues. This is a temporary bug in Work Zone which will be corrected in a next version.

Please confirm if, after the refresh, the application loads successfully, or whether there is a next error in retrieving the "$metadata" as I expect a bug was introduced in the last commit to this repository.

Hello @willemi069808 thank you, in the meanwhile I found the "known issue" and I wanted to answer but you were quick. You are right, I'm facing now the $metadata error. So I assume I'll have to wait for a fix, is that correct?

willemi069808 commented 4 months ago

Hi Christopher, I'm in the process of fixing that error, and what should help to resolve this is to make a small change in 2 files:

Then rebuild and redeploy etc.

willemi069808 commented 4 months ago

The $metadata error should be resolved with 97749d3. After deployment, if the same error still pops-up in the browser, you can do a clear-cache-and-reload in your browser to make sure you load the latest version.

ZEAL-IT commented 4 months ago

Awesome, works great. Thank you so much