Skip to content

Conversation

kolaente
Copy link
Member

This pr fixes updating of the created_unix column of an issue when adding a comment.

While working on #3794, I discovered this destroyed my routine to update an issue deadline as it updated everything (not only created_unix), which lead to setting the deadline to the old deadline right after updating it to the new one.

Previous pr which added this behavior was #2204.

@kolaente kolaente mentioned this pull request Apr 27, 2018
1 task
@lunny
Copy link
Member

lunny commented Apr 28, 2018

LGTM

@bkcsoft bkcsoft added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 28, 2018
@lunny lunny added the type/bug label Apr 28, 2018
@techknowlogick
Copy link
Member

LGTM. CI fail is unrelated.

@bkcsoft bkcsoft 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 Apr 28, 2018
@lafriks
Copy link
Member

lafriks commented Apr 28, 2018

#3856 will fix CI

@codecov-io
Copy link

Codecov Report

Merging #3855 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #3855 +/- ## ========================================== - Coverage 23.02% 23.01% -0.01%  ========================================== Files 126 126 Lines 24894 24892 -2 ========================================== - Hits 5731 5729 -2  Misses 18287 18287 Partials 876 876
Impacted Files Coverage Δ
models/issue_comment.go 30.48% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3f2b88...3751e41. Read the comment docs.

@lunny lunny added this to the 1.5.0 milestone Apr 29, 2018
@lunny lunny merged commit fd8d640 into go-gitea:master Apr 29, 2018
@lunny
Copy link
Member

lunny commented Apr 29, 2018

Please send a back port PR to v1.4

@kolaente
Copy link
Member Author

@lunny Done with #3860

@lafriks lafriks added the backport/done All backports for this PR have been created label Apr 30, 2018
@kolaente kolaente deleted the fix-only-update_unix-in-comments branch July 15, 2018 18:32
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

7 participants