-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
CardDAV convertor check should not be to wide #7342
Conversation
Case: email is set to null, but the avatar is set. In the old case the email would set $emptyValue but $noImage would still be false. This we would set the empty string as email. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
ed23db1
to
40633c5
Compare
Rebased on master to contain the fixed integration test. |
Codecov Report
@@ Coverage Diff @@
## master #7342 +/- ##
============================================
+ Coverage 50.97% 50.97% +<.01%
- Complexity 24735 24736 +1
============================================
Files 1586 1586
Lines 94257 94258 +1
Branches 1365 1365
============================================
+ Hits 48049 48051 +2
+ Misses 46208 46207 -1
|
Just as a side note. It fixes the integration tests. But the changed avatar behavior just highlighted the bug. The bug was already present in the code. So we should backport to the 12 series as well |
@blizzz @danxuliu @schiessle Mind to review this one? |
@rullzer do you do the backport? |
Case: email is set to null, but the avatar is set. In the old case the
email would set $emptyValue but $noImage would still be false. This we
would set the empty string as email.
Found while debugging the tests for #6876