Commit c9308af
authored
The 12 `@resolve:voorzieningen_register` sentinels in src/manifest.json
weren't being resolved at runtime because the lib's useAppManifest only
runs sentinel resolution inside the backend-fetch success path, and
softwarecatalog has no /api/manifest controller. Beta.30 (PR #220)
brought in the resolver but it couldn't fire without backend wiring.
This patch provisions every distinct `@resolve:<key>` sentinel via
OCP\AppFramework\Services\IInitialState in Application::boot(). The
lib's readInitialState() helper calls loadState(appId, key, undefined)
synchronously (Step 1 of resolveManifestSentinels.js), so the chain
hits initial-state before falling back to the deferred backend fetch
(Step 2), unblocking all 12 voorzieningen pages immediately.
A full /api/manifest backend controller (Option A) is deferred as a
future follow-up — Option B (IInitialState) is the minimal fix.
Keys provisioned: voorzieningen_register
Closes #221
1 parent 5b6b26b commit c9308af
1 file changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
447 | 448 | | |
448 | 449 | | |
449 | 450 | | |
450 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
451 | 476 | | |
452 | 477 | | |
0 commit comments