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

Add check to prevent sending reminder to a contact that does not exist #812

Merged
merged 2 commits into from
Jan 14, 2018

Conversation

djaiss
Copy link
Member

@djaiss djaiss commented Jan 14, 2018

Fix #771

The database has currently reminders with no contacts associated. I don't know why, this sucks, but in the meantime, we need to filter out reminders which do not have contacts.

@codecov
Copy link

codecov bot commented Jan 14, 2018

Codecov Report

Merging #812 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #812      +/-   ##
============================================
- Coverage     23.35%   23.34%   -0.02%     
- Complexity     1342     1343       +1     
============================================
  Files           168      168              
  Lines          4572     4574       +2     
============================================
  Hits           1068     1068              
- Misses         3504     3506       +2
Impacted Files Coverage Δ Complexity Δ
app/Console/Commands/SendNotifications.php 9.09% <0%> (-0.91%) 9 <0> (+1)

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 5e1ad97...3937ec4. Read the comment docs.

@djaiss djaiss merged commit 9ec5a34 into master Jan 14, 2018
@djaiss djaiss deleted the fix-771 branch January 15, 2018 01:12
@github-actions
Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reminders: ErrorException: Trying to get property 'account' of non-object
1 participant