Skip to content

MailParticipants fails #3760

@stroucki

Description

@stroucki
  • Gogs version (or commit ref): 2bec8a4
  • Git version: 2.1.4
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gogs.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    [T] mp wtf [5]: UpdateIssueUsersByMentions: database table is locked

Description

If a comment tags a name (@stroucki), emails do not send out because of the "database table is locked" error above. This is within function MailParticipants in models/issue_comment.go after the line
mentions := markdown.FindAllMentions(cmt.Content)

Note that the error never gets reported; I made it visible by inserting a log.Trace.

This fails for extant users; if a random text string is tagged, a mail is sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions