Entry IDs not resolving into URLs in navigation template
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- PHP
- Star
- 4.9k
- Fork
- 647
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 100
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của statamic/cms
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
There's a default crop when cropping imagesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởassets
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Make native filesystem directory permissions configurable to support shared POSIX ACL accessĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
antlers
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
needs-triage Platform(Default)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Store] RstLoader detects headings inside indented code blocksCó thể đã có người làm @lazerg đã nhận hôm nay. Đang mởBug Status: Needs Review Store
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug repo:ckeditor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
No Code Attached Yet
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
joomla/joomla-cms#48611 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày