Skip to content

Fix 500 on time in timeline API (#21052)#21057

Merged
zeripath merged 2 commits into
go-gitea:release/v1.17from
qwerty287:backport-timeline-time
Sep 4, 2022
Merged

Fix 500 on time in timeline API (#21052)#21057
zeripath merged 2 commits into
go-gitea:release/v1.17from
qwerty287:backport-timeline-time

Conversation

@qwerty287
Copy link
Copy Markdown
Contributor

@qwerty287 qwerty287 commented Sep 4, 2022

Backport #21052

Before converting a TrackedTime for the API we need to load its attributes - otherwise we get an NPE.

Fix #21041

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Sep 4, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Sep 4, 2022
@zeripath zeripath added this to the 1.17.2 milestone Sep 4, 2022
@zeripath zeripath merged commit 0ecbb71 into go-gitea:release/v1.17 Sep 4, 2022
@qwerty287 qwerty287 deleted the backport-timeline-time branch September 4, 2022 15:13
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants