Drupal Version

11.2.2

Domain module version

3.0.0-alpha7

Expected Behavior

1. Deleted all domain records
2. Tried visiting admin/config/development/performance
3. Error thrown:
Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "domain_id" for route "domain_config_ui.inline_action" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 223 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

Actual Behavior

No error should be displayed.

Steps to reproduce

  • Enable the domain module
  • Enable Domain config ui module
  • Create a domain record
  • Delete the domain record
  • Visit admin/config/development/performance
CommentFileSizeAuthor
#2 3548897-parameter-domain-id-2.patch614 bytesprashant.c

Issue fork domain-3548897

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

prashant.c created an issue. See original summary.

prashant.c’s picture

Status: Active » Needs review
StatusFileSize
new614 bytes

Submitting patch, need review, thanks

mably made their first commit to this issue’s fork.

mably’s picture

Hi @prashant.c, could you give a try to this issue's MR please?

And switch it to RTBC if it solves your problem.

prashant.c’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @mably, the changes in the MR also resolves the issue. Marking RTBC.

mably’s picture

Thanks for the review @prashant.c, let's merge this!

  • mably committed d87951ed on 3.x
    Issue #3548897 by prashant.c, mably: Parameter "domain_id" for route "...
mably’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.