Skip to content

wiki function of migrated repo result in 500 #10768

@w6m6

Description

@w6m6
  • Gitea version (or commit ref):
  • Git version: 1.11.2
  • Operating system: Centos 7
  • Database (use [x]):
    • PostgreSQL
    • [ X] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [X ] No
    • Not relevant
  • Log gist:

Description

when we create a repo using New Migration function, the wiki of migrated repo results in 500, logs of gitea goes for
2020/03/19 17:55:20 routers/repo/wiki.go:134:renderViewPage() [E] GetBranchCommit: reference not found
while when create a new repo. the wiki of new repo works correctly.

Screenshots

截屏2020-03-19下午6 04 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions