Commit f3ee210
authored
fix: use 'tools' parent for v13 compatibility (#74)
## Summary
- Fix backend module using `parent => 'admin'` which only exists in
TYPO3 v14
- On v13, the `admin` group doesn't exist — modules with a non-existent
parent silently fail to register
- Changed to `parent => 'tools'` which works on both versions:
- v13: `tools` exists natively as the admin tools group
- v14: `tools` is an alias for the new `admin` group
## Context
`composer.json` declares `^13.4 || ^14.0` support, but the module
registration only worked on v14.
Same issue was fixed in nr_vault:
netresearch/t3x-nr-vault#92
## Test plan
- [ ] Install nr_llm on TYPO3 v14 — LLM module appears under Admin Tools
- [ ] Install nr_llm on TYPO3 v13 — LLM module appears under Admin Tools
- [ ] All submodules (Providers, Models, Configurations, Tasks, Wizard)
accessible from docheader dropdown1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | | - | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
0 commit comments