Unable to view milestone #5117

Closed
opened 2025-11-02 06:14:57 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @CirnoT on GitHub (Mar 25, 2020).

template: repo/issue/milestone_issues:252:46: executing "repo/issue/milestone_issues" at <(len .PullRequest.ConflictedFiles) gt 0>: can't give argument to non-function len .PullRequest.ConflictedFiles

Description

Attempting to view milestone generates this error. This only happens if there is at least one PR in milestone and it does not matter if its conflicting or not.

Originally created by @CirnoT on GitHub (Mar 25, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.0+dev-33-gc61b90253 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes - https://try.gitea.io/Cirno/test_repo/milestone/858 - [ ] No - [ ] Not relevant - Log gist: ``` template: repo/issue/milestone_issues:252:46: executing "repo/issue/milestone_issues" at <(len .PullRequest.ConflictedFiles) gt 0>: can't give argument to non-function len .PullRequest.ConflictedFiles ``` ## Description Attempting to view milestone generates this error. This only happens if there is at least one PR in milestone and it does not matter if its conflicting or not.
GiteaMirror added the type/bug label 2025-11-02 06:14:57 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5117