-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load load OData metadata with UI5 CLI v4 and SAPUI5 1.71 #988
Comments
This is caused by a mismatch of your manifest version wrt. the UI5 version. The UI5 tooling 4.0 enhances the manifest, json with information about the When I reduce the version to 1.17 (which was the manifest version supported by UI5 1.71), then the app starts again. |
You can find the mapping between manifest versions and UI5 versions here |
Thank you @codeworrior for the quick explanation. |
I just said to @RandomByte that I would expect this as the next question :-) Sure, a warning would be nice. For some historic reasons, the runtime does not check the manifest version, but that would be one option. For the tooling, it can be rather difficult to know what version is used at runtime (e.g .when not the local server is used). But the (invalid) combination of _version and minUI5Version in the Manifest could be detected, maybe that's an option. We'll discuss this internally. |
BTW: thank's for the fast and easy to reproduce feedback reg. tooling 4.0 :-) |
You´re welcome, the investment in my CI Pipeline pays off
Then I'll ask the right questions :) In the UI5 development there are enough errors anyway that you have to interpret correctly, it would be nice if this can be checked as well as possible so that you can solve it yourself. You can either close this if you create a new issue or leave it open as reference, up to you |
…ible manifest versions Related: #988
…ible manifest versions Related: #988
…ible manifest versions (#990) Related: #988 --------- Co-authored-by: Günter Klatt <[email protected]>
@NAVI-91 based on your description, I don't think this is the same issue. Please raise a dedicated issue or SAP support incident The issue discussed in this incident has been documented here: https://sap.github.io/ui5-tooling/stable/updates/migrate-v4/#app-stops-working-with-ui5-171 |
Expected Behavior
Starting Fiori elements App with Fiori Tooling and UI5 CLI v4 and SAPUI5 Version 1.71
Current Behavior
Unable to load metadata from OData Service provided by CAP
Steps to Reproduce the Issue
git clone https://github.com/marianfoo/ui5cliv4-v71
cd ui5cliv4-v71
npm i
npm start
It works with either UI5 CLI v3 and SAPUI5 1.71 or with UI5 CLI v4 and SAPUI5 1.84 or above.
It did work with a freshly generated Fiori elements application, but i can´t tell what the difference was to make it work.
Context
4.0.0
20.14.0
10.3.0
mac
Chrome
Log Output / Stack Trace
The text was updated successfully, but these errors were encountered: