ui5lint complains about the property `datetime` in NotificationListItem
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 13
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 9
Description
Hi,
I'm currently getting this warning from the ui5lint tool:
19:15 error Use of deprecated property 'datetime' of class 'NotificationListItem'. Details: As of version 1.123. this property is available directly on sap.m.NotificationListItem (https://ui5.sap.com/1.136/#/api/sap.m.NotificationListItem). no-deprecated-api
Expected Behavior
No warnings from the ui5lint about the property datetime in NotificationListItem. Regarding the current documentation this property is not deprecated: https://ui5.sap.com/1.143.0/#/api/sap.m.NotificationListItem%23controlProperties
Current Behavior
UI5 linter report:
/Users/D032842/SAPDevelop/git/regatta-infopoint/static/webapp/view/Launchpad.view.xml
19:15 error Use of deprecated property 'datetime' of class 'NotificationListItem'. Details: As of version 1.123. this property is available directly on sap.m.NotificationListItem (https://ui5.sap.com/1.136/#/api/sap.m.NotificationListItem). no-deprecated-api
1 problem (1 error, 0 warnings)
Run "ui5lint --fix" to resolve all auto-fixable problems
Steps to Reproduce the Issue
- git clone repo: https://github.com/Heidelberger-Regattaverband/regatta-infopoint
- cd into folder
static - perform command:
ui5lint
Context
- UI5 linter version:
1.20.8 - Node.js version:
v22.22.0 - npm version:
10.9.4 - OS/Platform:
MacOS 26.2 - Browser (if relevant):
unknown - Other information regarding your environment (optional):
nothing
Log Output / Stack Trace
{...}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning with ui5lint 1.20.8 in the linked sample repository, then trace the no-deprecated-api rule and its UI5 API metadata for sap.m.NotificationListItem. The issue is done when the valid datetime property no longer produces a deprecation warning while genuinely deprecated properties remain reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100