Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spot user set on update not at object creation. #3123

Merged
merged 1 commit into from Jul 16, 2020

Conversation

dracos
Copy link
Member

@dracos dracos commented Jul 16, 2020

The changes in 67823bc create the necessary metadata at the creation
of a Comment object, but if the user is not included at that point but
later (as is done by the normal public update flow), then it would not
be created. Wrap the user accessor so we can make sure it is set.
[skip changelog]

The changes in 67823bc create the necessary metadata at the creation
of a Comment object, but if the user is not included at that point but
later (as is done by the normal public update flow), then it would not
be created. Wrap the user accessor so we can make sure it is set.
@dracos dracos requested a review from struan July 16, 2020 15:54
Copy link
Member

@struan struan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@codecov
Copy link

codecov bot commented Jul 16, 2020

Codecov Report

Merging #3123 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3123   +/-   ##
=======================================
  Coverage   83.42%   83.42%           
=======================================
  Files         248      248           
  Lines       15574    15574           
  Branches     2906     2906           
=======================================
  Hits        12992    12992           
  Misses       1660     1660           
  Partials      922      922           
Impacted Files Coverage Δ
perllib/FixMyStreet/DB/Result/Comment.pm 88.46% <ø> (ø)

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 83b7794...60af4a7. Read the comment docs.

@dracos dracos merged commit 4dfbdeb into master Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants