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

CardDAV convertor check should not be to wide #7342

Merged
merged 1 commit into from
Dec 11, 2017
Merged

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Nov 29, 2017

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

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>
@MorrisJobke MorrisJobke force-pushed the fix_carddav_converter branch from ed23db1 to 40633c5 Compare December 11, 2017 10:58
@MorrisJobke
Copy link
Member

Rebased on master to contain the fixed integration test.

@codecov
Copy link

codecov bot commented Dec 11, 2017

Codecov Report

Merging #7342 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             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
Impacted Files Coverage Δ Complexity Δ
apps/dav/lib/CardDAV/Converter.php 73.52% <100%> (+0.39%) 24 <0> (+1) ⬆️
apps/files_trashbin/lib/Trashbin.php 72.53% <0%> (+0.24%) 136% <0%> (ø) ⬇️

@MorrisJobke MorrisJobke mentioned this pull request Dec 11, 2017
2 tasks
@rullzer
Copy link
Member Author

rullzer commented Dec 11, 2017

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

@rullzer rullzer requested review from blizzz and danxuliu December 11, 2017 12:07
@MorrisJobke
Copy link
Member

@blizzz @danxuliu @schiessle Mind to review this one?

@blizzz blizzz merged commit 80b27fd into master Dec 11, 2017
@blizzz blizzz deleted the fix_carddav_converter branch December 11, 2017 15:03
@blizzz
Copy link
Member

blizzz commented Dec 11, 2017

@rullzer do you do the backport?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants