- Issue created by @dtamajon
- First commit to issue fork.
- last update
6 months ago 1 pass - 🇮🇳India kalpanajaiswal
Created one MR from patch 2.
Branch: 3424320-invalidargumentexception-issue
There are some situations in which the module returns the following error:
InvalidArgumentException: Route required in Drupal\Core\Url::fromRouteMatch() (line 170 of core/lib/Drupal/Core/Url.php).
It happens with routes that does not respond to an object (entity, view, ...), but for some reason is yet valid. In my case, it happens when I type /sitemap in the URL.
Add an additonal validation to test if the route match is a valid route object. I attach a patch with the proposed solution.
Active
2.1
Code
Created one MR from patch 2.
Branch: 3424320-invalidargumentexception-issue