openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Documentation of sap.m.Panel::onBeforeRendering seems to be wrong

Open ErikBrendel opened this issue 6 years ago • 3 comments

This method has a comment "Sets the accessibleRole property of the control" which also claims that the method takes a parameter, which it doesn't do (and which conflicts with the method definition in its superclass). I guess the JsDoc should be adjusted.

ErikBrendel avatar Mar 16 '20 18:03 ErikBrendel

You're right, the documentation is wrong and the method is not meant to be public. The JSDoc is a left-over from the code before d6b5bad08cadee79a570aa7ac727a3e8587e16ae.

codeworrior avatar Mar 16 '20 20:03 codeworrior

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

Shtilianova avatar Apr 14 '20 12:04 Shtilianova

Hello @ErikBrendel,

The documentation was fixed and will be included in the next release - 1.78

Best regards, Martin

Martotko avatar Apr 16 '20 06:04 Martotko