Problem/Motivation
After installing Drupal CMS 2 using Mercury site template, you'll see an error on Utility Pages related to the heading component when URL value is "No URL":
Twig\Error\RuntimeError occurred during rendering of component f08be9dc-e328-4cb7-9499-df6db9bd8900 in Content template Utility page content items — Full content view (node.page.full): An exception has been thrown during the rendering of a template ("[mercury:heading/url] Invalid URL format. The provided value is: "No URL".") in "mercury:heading" at line 1.
Steps to reproduce
- Install Drupal CMS 2.0.2
- Open the default Privacy Policy page
/privacy-policy
Proposed resolution
Remove the "No URL" default value in the heading url.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2026-03-11 at 12.48.18 PM.jpg | 96.81 KB | roaguicr |
Issue fork mercury-3578624
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:
Issue fork drupal_cms-3578624
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
Comment #3
roaguicr commentedAdding a MR to revert the changes just in the heading component, this will solve the "default" error on DrupalCMS using Mercury starter.
Comment #4
pameeela commentedWe'll want to fix this in the starter config, we want the uri format because it provides an autocomplete link widget.
Comment #7
pameeela commentedComment #11
phenaproximaMerged into 2.x and cherry-picked to 2.0.x.