Skip to content

CardDAV convertor check should not be to wide - #7342

Merged
blizzz merged 1 commit into
masterfrom
fix_carddav_converter
Dec 11, 2017
Merged

CardDAV convertor check should not be to wide#7342
blizzz merged 1 commit into
masterfrom
fix_carddav_converter

Conversation

@rullzer

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

Rebased on master to contain the fixed integration test.

@codecov

codecovBot commented Dec 11, 2017

Copy link
Copy Markdown

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 FilesCoverage ΔComplexity Δ
apps/dav/lib/CardDAV/Converter.php73.52% <100%> (+0.39%)24 <0> (+1)⬆️
apps/files_trashbin/lib/Trashbin.php72.53% <0%> (+0.24%)136% <0%> (ø)⬇️

@MorrisJobkeMorrisJobke mentioned this pull request Dec 11, 2017
2 tasks
@rullzer

Copy link
Copy Markdown
MemberAuthor

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

@MorrisJobke

Copy link
Copy Markdown
Member

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

@blizzz
blizzz merged commit 80b27fd into masterDec 11, 2017
@blizzz
blizzz deleted the fix_carddav_converter branch December 11, 2017 15:03
@blizzz

Copy link
Copy Markdown
Member

@rullzer do you do the backport?

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: dav

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@blizzz