Skip to content

Enum: MessageBox.Icon.NONE being undefined causes Error #4273

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

Open
boghyon opened this issue Apr 29, 2025 · 1 comment
Open

Enum: MessageBox.Icon.NONE being undefined causes Error #4273

boghyon opened this issue Apr 29, 2025 · 1 comment

Comments

@boghyon
Copy link
Contributor

boghyon commented Apr 29, 2025

This is a sub-issue of #4201. Due to the MessageBox.Icon.NONE being undefined, which is not allowed according to the documentation guideline, calling sap/ui/base/DataType.getType("sap.m.MessageBox.Icon") currently causes:

Uncaught (in promise) Error: Value undefined for enum type sap.m.MessageBox.Icon is not a string

/**
* Enumeration of the pre-defined icons that can be used in a MessageBox.
* @enum {string}
* @public
*/
MessageBox.Icon = {
/**
* Shows no icon in the message box.
* @public
*/
NONE: undefined,

@i556484
Copy link
Member

i556484 commented Apr 29, 2025

Hello @boghyon ,
Thank you for sharing this finding. I've created an internal incident DINC0487664. The status of the issue will be updated here in GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants