Skip to content

Template exception when rendering file list #6708

Closed
@mdeboer

Description

@mdeboer

Running version: b83114f

I have many repo's and most of them work fine, today I entered a small one and one specific branch would not load and gave me this exception:

template: repo/view_list:82:38: executing "repo/view_list" at <$commit.Summary>: invalid value; expected string

Related template file:

{{RenderCommitMessageLink $commit.Summary $.RepoLink (print $.RepoLink "/commit/" $commit.ID) $.Repository.ComposeMetas}}

I did a bit of research and it appears commits with a summary ending with a ' throw this exception. For instance:

Merge branch 'foo'

However this is fine:

Merge branch 'foo' into bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/criticalThis issue should be fixed ASAP. If it is a PR, the PR should be merged ASAPtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions