-
Notifications
You must be signed in to change notification settings - Fork 28
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
sap.ushell.Container
removed in 1.100?
#347
Comments
@aschmalzhaf can you please take a look and comment? Did only the global name disappear and it's possible now to access |
The issue should be fixed with newer UI5 versions (1.102++ should work fine). |
Hold on... I don't think so. It appears as a class at https://ui5.sap.com/1.101.0/#/api/sap.ushell.Container, but loaded from module "sap/ushell/Container". So it's sort of back again after disappearing in 1.100, but not like it used to be. Edit: a quick test seems to show that the class is imported, not the singleton instance. |
Now internally tracked as 2280149651 to get it handled. |
Seems like this problem has been fixed in SAPUI5 version 1.121 and later. Possible downport to 1.120 is being discussed. |
I verified that the following can be written in TypeScript and also works at runtime to the extent expected: import Container from "sap/ushell/Container";
const navService = await Container.getServiceAsync("Navigation"); ("extent expected" means it fails to return a value in a standalone app without FLP, but Closing as finally fixed. |
the
sap.ushell.Container
const that was defined insap.ushell.d.ts
seems to no longer be present in version 1.100. how come it was removed?The text was updated successfully, but these errors were encountered: