fix bug on issue view when not login - #1624
Conversation
There was a problem hiding this comment.
I prefer that iw would stay at nil and in template https://github.com/go-gitea/gitea/blob/master/templates/repo/issue/view_content/sidebar.tmpl#L104 the form is only display if logged or/and IssueWatch is set.
|
LGTM |
|
LGTM |
|
@lunny Builds fail though 😢 |
|
@lunny |
There was a problem hiding this comment.
repo1 is owned by user2 (https://github.com/go-gitea/gitea/blob/master/models/fixtures/repository.yml) -> so /user2/repo1/issues/
Ref :
There was a problem hiding this comment.
I'm confusing there are two fixtures. https://github.com/go-gitea/gitea/blob/master/models/fixtures and integrations/gitea-integration/fixtures,
There was a problem hiding this comment.
In your test you seem to load "code.gitea.io/gitea/models".LoadFixtures() don't know for the other fixture.
|
waiting #1627 |
|
Good idea of removing duplicate fixture. |
78a21a9 to
6477e37
Compare
|
let L-G-T-M work |
closes go-gitea#1624 Co-authored-by: Maxim Slipenko <maks1ms@altlinux.org> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8798 Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: Maxim Slipenko <maks1ms@noreply.codeberg.org> Co-committed-by: Maxim Slipenko <maks1ms@noreply.codeberg.org>
will fix #1539