Views throws InvalidArgumentException in Link to Content with external URLs

Created on 22 June 2020, over 4 years ago
Updated 26 August 2023, about 1 year ago

I'm having the issue reported here https://www.drupal.org/project/drupal/issues/2800799 β†’ with a "Link to Content" field in a view if the "Use Absolute link" checkbox is checked.

Error is as follows
InvalidArgumentException: The internal path component 'https://example.com/node/8' is external. You are not allowed to specify an external URL together with internal:/. in Drupal\Core\Url::fromInternalUri() (line 419 of /app/web/core/lib/Drupal/Core/Url.php).

πŸ› Bug report
Status

Closed: cannot reproduce

Version

8.9 ⚰️

Component
ViewsΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States johnpicozzi Providence, RI

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mikemccaffrey

    Weirdly, if I have debug set to true for twig.config in my development.services.yml, there is no issue, but if I turn that off, it suddenly starts throwing the error.

Production build 0.71.5 2024