Views causes raw url to be run through the formatter twice.

Created on 18 October 2011, almost 13 years ago
Updated 31 August 2024, 28 days ago

Possibly a duplicate of this 6.x issue: http://drupal.org/node/478922

To recreate:
Create a piece of content with a link field using a relative path such as: inventory
Create a view using the link field and another field from the same piece of content, I am using an image field.
Exclude the link field from the display and set formatter to URL, as plain text.
With the second (in my case image) field check Output this field as a link and use the replacement pattern for the link [field_link] in my case.

The basepath for the link now appears to be doubled. My site is running from a drupal supdirectory so paths should come up as drupal/inventory in this case the path will appear as drupal//drupal/inventory but on any standard site I assume the double slashes would at least appear and break the link.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇨🇦Canada jamesrward

Live updates comments and jobs are added and updated live.
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.

  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin

    I'll close this issue due to inactivity for 12 years and upcoming EOL of Drupal 7 in January 2025 . While the project version for Drupal 7 will keep providing support for security issues and website breaking bug fixes for Drupal 7, we should try to minimize the open issues for Drupal 7 in the queue as much as possible. Thanks for the report and all the efforts in here. Feel free to re-open if you can provide a fix or found an additional related problem which increases the issue priority to "Critical" here.

Production build 0.71.5 2024