Skip to content

PHP-7.4 Fix litmus - #37298

Merged
phil-davis merged 1 commit into
masterfrom
be-consistent
Apr 23, 2020
Merged

phil-davis merged 1 commit into
masterfrom
be-consistent

Conversation

@VicDeo

@VicDeo VicDeo commented Apr 23, 2020 •

Copy link
Copy Markdown
Contributor

Description

Right now complex PROPPATCH causes a hard failure for Oracle, see #32670 for details
It also fails in the same manner under PHP 7.4

This PR make the behavior consistent across all DB engines and PHP versions.
In the terms of non-Orcacle/PHP7.4 environment it changes nothing.

Related Issue

https://github.com/owncloud/enterprise/issues/3967
#32670

Motivation and Context

Failing litmus test

How Has This Been Tested?

By CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@codecov

codecov Bot commented Apr 23, 2020

Copy link
Copy Markdown

Codecov Report

Merging #37298 into master will decrease coverage by 0.00%.
The diff coverage is 50.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #37298      +/-   ##
============================================
- Coverage     64.52%   64.52%   -0.01%     
- Complexity    19165    19166       +1     
============================================
  Files          1266     1266              
  Lines         74934    74936       +2     
  Branches       1331     1331              
============================================
+ Hits          48353    48354       +1     
- Misses        26189    26190       +1     
  Partials        392      392              
Flag Coverage Δ Complexity Δ
#javascript 54.14% <ø> (ø) 0.00 <ø> (ø)
#phpunit 65.68% <50.00%> (-0.01%) 19166.00 <0.00> (+1.00) ⬇️
Impacted Files Coverage Δ Complexity Δ
apps/dav/lib/DAV/FileCustomPropertiesBackend.php 88.11% <50.00%> (-0.78%) 31.00 <0.00> (+1.00) ⬇️

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 c9eb843...faeb122. Read the comment docs.

@phil-davis phil-davis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good for now - we can keep existing behavior and work on the fix later.

@phil-davis

Copy link
Copy Markdown
Contributor

I will override codecov - we know why there is the small difference.

@owncloud owncloud deleted a comment from update-docs Bot Apr 23, 2020
@phil-davis
phil-davis merged commit 74e1e3e into master Apr 23, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the be-consistent branch April 23, 2020 16:11
@phil-davis phil-davis mentioned this pull request Apr 24, 2020
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants