You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After OPcache reload + `occ maintenance:repair`, the route still 404s.
Hypothesis
Either:
The route pattern `[a-z0-9][a-z0-9-]*[a-z0-9]` requires 2+ chars (which `hello-world` satisfies) — but the controller might be unreachable due to DI / namespace issue
`IconController` constructor has a hard dependency that throws on instantiation (silently 404s)
A higher-precedence wildcard route is matching first
Symptom
`GET /index.php/apps/openbuilt/icons/hello-world.svg` returns HTTP 404 (`text/html`) instead of 200 `image/svg+xml`. Same for the `-dark` variant.
The route IS registered in `appinfo/routes.php`:
```php
['name' => 'icon#iconLight', 'url' => '/icons/{slug}.svg', 'verb' => 'GET', 'requirements' => ['slug' => '[a-z0-9][a-z0-9-][a-z0-9]']],
['name' => 'icon#iconDark', 'url' => '/icons/{slug}-dark.svg', 'verb' => 'GET', 'requirements' => ['slug' => '[a-z0-9][a-z0-9-][a-z0-9]']],
```
After OPcache reload + `occ maintenance:repair`, the route still 404s.
Hypothesis
Either:
Repro
Investigation steps
Spec ref: `openspec/changes/openbuilt-nextcloud-nav/specs/app-icon-management/spec.md` (REQ-OBICON-002, REQ-OBICON-003).
Surfaced during morning visual smoke.