Skip to content

Can't view Wiki pages after upgrade from 1.11.1 to 1.11.2 #10681

@sigma-frossignol

Description

@sigma-frossignol
  • Gitea version (or commit ref): 1.11.2
  • Git version: 2.25.1
  • Operating system: Windows 2016
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

When trying to view a Wiki page I've got this message

template: repo/wiki/view:48:14: executing "repo/wiki/view" at <(not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))>: can't give argument to non-function not $.DisableHTTP

Upgraded from 1.11.1 to 1.11.2 this morning and the problem appeared.
When downgrading back to 1.11.1 the problem disapears.

I had a custom template (footer.tmpl for mermaid.js) even when removing the custom template the problem persists.

I tried on a repo without Wiki, clicked start wiki saved the default page and got the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/buildPR changes how Gitea is built, i.e. regarding Docker or the Makefile

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions