Entry IDs not resolving into URLs in navigation template
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di statamic/cms
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
There's a default crop when cropping imagesForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaassets
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
accessibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
antlers
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di statamic/cms
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
WordPress/hosting-handbook#506 ·
I maintainer di solito rispondono entro 2 giorni
-
Installing a plugin with composer_packages installs dev dependencies and breaks the autoloader (Error 500)Forse già presa @Boy132 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
nginx: static-file locations drop the security headers, and the dotfile deny is matched after themApertabug Low Security
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
backdrop-contrib/commerce#60 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100