UI5 / UI5/linter

ui5lint complains about the property `datetime` in NotificationListItem

Open
#984 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

detection
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

  1. git clone repo: https://github.com/Heidelberger-Regattaverband/regatta-infopoint
  2. cd into folder static
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.