Skip to content

fix(frontend): two API URLs still named the schemas by their PascalCase slug - #781

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/frontend-slug-case-variants
Sep 1, 2026
Merged

fix(frontend): two API URLs still named the schemas by their PascalCase slug#781
rubenvdlinde merged 1 commit into
developmentfrom
fix/frontend-slug-case-variants

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Follow-up to #777. Found by development E2E, which is exactly what it is for:

✘ admissions review board page renders without a fatal error
  Error: unexpected fatal errors: [AdmissionsReviewBoard] loadData error
         Error: Application fetch failed: 404

Two Vue views build the OpenRegister URL with the register's PascalCase dict key rather than the slug:

File Was Now
AdmissionsReviewBoard.vue objects/learniq/Application objects/learniq/admission
TakeAssessmentView.vue objects/learniq/Assessment objects/learniq/exam

Resolution had been case-insensitive enough to cover key-vs-slug until the slugs became admission and exam. Every earlier sweep was anchored on a lowercase slug, so neither URL was ever in scope; the residual audit is now case-insensitive and reports learniq clean.

🤖 Generated with Claude Code

…se slug

Development E2E caught this, which is what it is for:

  admissions review board page renders without a fatal error
  Error: unexpected fatal errors: [AdmissionsReviewBoard] loadData error
         Error: Application fetch failed: 404

AdmissionsReviewBoard fetched objects/learniq/Application and
TakeAssessmentView fetched objects/learniq/Assessment. Both name the schema
in the URL with the register's PascalCase DICT KEY rather than the slug, and
the resolution had been case-insensitive enough to cover the difference
until the slugs became admission and exam.

Every earlier sweep for these URLs was anchored on a lowercase slug, so
neither was ever in scope. The audit is now case-insensitive.
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/learniq @ b4206ba

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-specs
format
check-l10n-js
check-schema-l10n
composer ✅ 104/104
npm ✅ 637/637
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman ⏭️
Playwright ⏭️ deferred — runs on the promotion into beta/main, not on a pull request into development
Hydra gates

Quality workflow — 2026-09-01 08:12 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit bdb30f1 into development Sep 1, 2026
44 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/frontend-slug-case-variants branch September 1, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant