Detect and fix missing library dependencies in UI5 YAML
Maintainers usually reply within 1 day
@flovogt is already working on this.
Since Sep 24, 2026.
Assessment
This issue has not been assessed yet.
Description
Detect if a module e.g. a control of a library is used in an OpenUI5 / SAPUI5 project (XML, JS) but the respective OpenUI5 / SAPUI5 library was not added to the framework/libraries list in the UI5 YAML files.
Furthermore, a autofix should be provided for this scenario.
Scenario
The sap.m library is used in a XMLView but the ui5.yaml does not mention sap.m in the framework/libraries section.
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" xmlns="sap.m" controllerName="ui5app.controller.Home" >
<Text text="Hello"/>
</mvc:View>
Before Autofix
framework:
name: OpenUI5
version: "1.151.0"
libraries:
- name: sap.ui.core
- name: themelib_sap_horizon
After Autofix
framework:
name: OpenUI5
version: "1.151.0"
libraries:
- name: sap.m
- name: sap.ui.core
- name: themelib_sap_horizon
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 14
- Avg merge
- 10h 17m
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from UI5/linter
-
Feat: Maximize performance for XML/HTML parsingPossibly taken @flovogt claimed this 17 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
UI5/linter#1164 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Sync UI5 versions across projectMay be free again @flovogt claimed this 53 days ago, and no pull request is open. Opendetection
UI5/linter#1155 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Manifest best practices: Detect `serviceUrl` or `uri` under `/sap.ui5/models` and migrate to `/sap.app/dataSources`May be free again @flovogt claimed this 61 days ago, and no pull request is open. Opendetection
UI5/linter#1145 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Detect and possibly autofix missing super calls when overriding UI5 lifecycle and event hooksMay be free again @flovogt claimed this 67 days ago, and no pull request is open. Opendetection
Difficulty 4/5 3-5 days Newbie friendliness 45/100
UI5/linter#1140 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Detect and fix direct imports of sap/m/URLHelperMay be free again @flovogt claimed this 68 days ago, and no pull request is open. Openautofix detection
UI5/linter#1138 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
can1357/oh-my-pi#21349 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ohcnetwork/care_fe#17474 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100