- Issue created by @ricardo.castaneda
- π³πΏNew Zealand quietone
@cadence96, thanks for letting us know.
This is an issue for the API project.
- πͺπΈSpain fjgarlin
Error info.
Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "term" for route "api.search.project.branch.term" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 209 of /app/web/core/lib/Drupal/Core/Routing/UrlGenerator.php). Backtrace #0 /app/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(256): Drupal\Core\Routing\UrlGenerator->doGenerate() #1 /app/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(300): Drupal\Core\Routing\UrlGenerator->getInternalPathFromRoute() #2 /app/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(108): Drupal\Core\Routing\UrlGenerator->generateFromRoute() #3 /app/web/core/lib/Drupal/Core/Url.php(765): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute() #4 /app/web/core/lib/Drupal/Core/Utility/LinkGenerator.php(183): Drupal\Core\Url->toString() #5 /app/web/core/lib/Drupal/Core/Link.php(164): Drupal\Core\Utility\LinkGenerator->generate() #6 /app/web/modules/contrib/api/src/Formatter.php(2314): Drupal\Core\Link->toString() #7 /app/web/modules/contrib/api/src/Formatter.php(1919): Drupal\api\Formatter::makeMatchLink() #8 [internal function]: Drupal\api\Formatter::linkName() ...
- πͺπΈSpain fjgarlin
Also in the logs right before that, which is more likely to be the culprit:
Warning: Undefined property: stdClass::$search_name in Drupal\api\Formatter::makeMatchLink() (line 2285 of /app/web/modules/contrib/api/src/Formatter.php) #0 /app/web/core/includes/bootstrap.inc(166): _drupal_error_handler_real() #1 /app/web/modules/contrib/api/src/Formatter.php(2285): _drupal_error_handler() #2 /app/web/modules/contrib/api/src/Formatter.php(1919): Drupal\api\Formatter::makeMatchLink()
The MR above should fix this case.
-
fjgarlin β
committed 7b28f61e on 2.x
Issue #3533572 by fjgarlin, cadence96: Documentation page for class...
-
fjgarlin β
committed 7b28f61e on 2.x
- πͺπΈSpain fjgarlin
I'll merge this and deploy with the other round of issues.
- πͺπΈSpain fjgarlin