Skip to content
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.m.DynamicDateRange: format implementation generates error logs for options with no values #4144

Open
CharlezXue opened this issue Oct 10, 2024 · 1 comment

Comments

@CharlezXue
Copy link

OpenUI5 version: 1.128.0

Browser/version (+device/version): Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

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

URL (minimal example if possible): https://ui5.sap.com/#/entity/sap.m.DynamicDateRange/sample/sap.m.sample.DynamicDateRange

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. open browser console
  2. change DynamicDateRange control to any option with no value. e.g. THISWEEK, LASTWEEK, THISMONTH

What is the expected result? no error log

What happens instead? error logs

Any other information? (attach screenshot if possible)

This is supposely the same issue raised in #4077 which should been fixed in 25ffdcd

Cause by

aFormattedParams = null;

where null should be undefined

image
image

@NHristov-sap
Copy link
Contributor

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

Regards,
Nikolay Hristov

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