SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.95k stars 1.23k forks source link

Setting false to field showCounts not effective for multiple views in manifest json #4096

Open Rosaugo opened 1 month ago

Rosaugo commented 1 month ago

OpenUI5 version: 1.125.1

Browser/version (+device/version): Windows 11 / Chrome 126.0.6478.127

Any other tested browsers/devices(OK/FAIL): No

URL (minimal example if possible): https://ui5.sap.com/test-resources/sap/fe/core/fpmExplorer/index.html#/controllerExtensions/multiModeExtensibility

Steps to reproduce the problem:

  1. Set showCounts to false

What is the expected result? We expect the table count to be hidden, while the backend odata request with $count will not be sent.

image

What happens instead? The count is still there, and the the backend odata request with $count is sent.

Any other information? (attach screenshot if possible) Actually this is an issue found in our app, and we checked ui5 example, found the same issue. So we just provide this as example

kgogov commented 1 month ago

Hello @Rosaugo,

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

Regards, Konstantin Gogov SAPUI5 GitHub Dispatcher