openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Documentation: sap.ui.comp.variants.VariantManagement, wrong data type

Open iljapostnovs opened this issue 4 years ago • 4 comments

OpenUI5 version: 1.97.1

https://ui5.sap.com/#/api/sap.ui.comp.variants.VariantManagement%23events/Summary

Event: manage Parameter: def According to documentation, data type is boolean: image in reality it's string: image

Maybe there are more inconsistencies like that for this control, I suggest to check the rest of them as well.

iljapostnovs avatar Jan 19 '22 07:01 iljapostnovs

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

JumpNRun avatar Jan 19 '22 15:01 JumpNRun

Hi,

The same goes for renamed parameter of the same event. Documentation states, that it's string[]': image actually it's object[]: image

iljapostnovs avatar Jan 20 '22 06:01 iljapostnovs

Thank you for reporting this issue. It is solved in the current master with change: 5521683.

Btw. the comp -library is not part of openui5; it is part of sapui5-runtime.

d027183 avatar Jan 25 '22 06:01 d027183

Thank you for reporting this issue. It is solved in the current master with change: https://git.wdf.sap.corp/c/sapui5/sapui5.runtime/+/5521683

Btw. the comp -library is not part of openui5; it is part of sapui5-runtime.

My bad, OpenUI5 was generated by the issue template, I should have changed it to SAPUI5. Thanks!

iljapostnovs avatar Jan 25 '22 10:01 iljapostnovs