Skip to content

fix #121 Redirect /process/list and /process/launch to the dashboard when accessed directly - #122

Merged
njoubert-cleverage merged 2 commits into
mainfrom
121
Oct 8, 2026
Merged

njoubert-cleverage merged 2 commits into
mainfrom
121

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #121.

ListAction and LaunchAction: when there is no EasyAdmin context (route accessed directly instead of through the dashboard), redirect to the dashboard URL: /process?routeName=process_list, /process?routeName=process_launch with the query parameters (process). The routes are kept: the dashboard uses them.

Tests: ProcessListTest::testDirectAccessRedirectsToTheDashboard, LaunchActionTest::testDirectAccessRedirectsToTheDashboard (redirection, then the page / the form within the dashboard).

Checked:

  • bundle (Symfony 8.1, PHP 8.5): 285 tests OK; without the fix, both new tests fail. PHPStan, PHP-CS-Fixer, Rector OK
  • process-bundle-demo (Symfony 7.4, EasyAdmin 5.6): /process/list and /process/launch?process=demo.rest.get → 302 to the dashboard URL, then 200 (were 500)

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None.

🤖 Generated with Claude Code

…when accessed directly

Without the EasyAdmin context, their templates failed (500 "Impossible to access an attribute ("i18n")"). They are
redirected to the dashboard URL (routeName), with the query parameters.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@njoubert-cleverage njoubert-cleverage added the bug Something isn't working label Oct 8, 2026
@njoubert-cleverage
njoubert-cleverage merged commit a89ac75 into main Oct 8, 2026
18 checks passed
@njoubert-cleverage
njoubert-cleverage deleted the 121 branch October 8, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/process/list and /process/launch accessed directly: 500 (no EasyAdmin context)

1 participant