Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Entry IDs not resolving into URLs in navigation template

Aperta
#15,628 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
laravel, php
Ambito
backend, content

Direzione di ricerca

Start by reading the navigation template example and checking how the url variable handles entry links in navigation blueprints. Reproduce with a navigation item whose link field points to an entry, then trace where the raw entry:: ID is rendered. Done means the front end outputs a navigable URL for that entry; the issue does not name a test or source file.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Bug description

We have a client that is experiencing an issue where when they link to an entry in a navigation blueprint with a link field, the entry ID doesn't resolve into a URL on the front end. It just shows the raw entry id which isn't navigable.

Looking through the release notes, #15004 is somewhat relevant.

Template:
{{ nav:footer_navigation }} {{ if link_menu == "about" }}<a class="primary d-block fw-600" href="{{ url }}">{{ title }}</a>{{ /if }} {{ /nav:footer_navigation }}

Output:

href="entry::4af6f16d-80e3-42af-ba38-b7818df99593">Contact

How to reproduce

Link to an entry in a navigation blueprint with a link field, the entry ID doesn't resolve into a URL on the front end.

Logs
The only thing in the log:

[2026-10-11 13:12:50] local.DEBUG: Error contacting Outpost: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see https://curl.se/libcurl/c/libcurl-errors.html) for https://outpost.statamic.com/v3/query
Environment
Environment
Laravel Version: 13.0.0
PHP Version: 8.5.10
Composer Version: 2.10.3
Environment: production
Debug Mode: OFF
Maintenance Mode: OFF
Timezone: America/Chicago
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: pusher
Cache: file
Database: mysql
Logs: stack / single
Mail: postmark
Queue: sync
Session: file

Storage
public/storage: LINKED

Statamic
Addons: 9
License Key: Set
Sites: 4 (site1, site2, site3, site4)
Stache Watcher: Disabled
Static Caching: Disabled
Version: 6.34.0 PRO

Statamic Addons
4rn0/statamic-image-optimizer: 1.3.0
aryehraber/statamic-color-extractor: 2.1.0
isapp/statamic-honeypot: 6.0.0
jacksleight/statamic-bard-texstyle: 4.2.1
mitydigital/feedamic: 3.0.13
mitydigital/sitemapamic: 3.5.1
rias/statamic-redirect: 4.2.1
statamic/seo-pro: 7.14.1
stillat/antlers-layouts: 2.1.1
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Lingua principale
PHP
Stelle
4.9k
Fork
647
Merge medio
1g 8h
PR unite (30g)
100

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di statamic/cms

Tutte le issue di statamic/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.