Skip to content

Throw exception in getOCSResponseStatusCode if responseXml has no OCS status#34582

Merged
individual-it merged 1 commit into
masterfrom
handle-no-OCS-status
Feb 22, 2019
Merged

Throw exception in getOCSResponseStatusCode if responseXml has no OCS status#34582
individual-it merged 1 commit into
masterfrom
handle-no-OCS-status

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

Description

Throw an exception in getOCSResponseStatusCode if responseXml has no OCS status

Related Issue

During development PR #34568 had a problem where an API call returned a good HTTP status, but did not fill in the OCS status. That cause the acceptance test code to fall over in a "not very nice" way.

How Has This Been Tested?

Local runs against development software with issues.

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:

Open tasks:

  • Backport (if applicable set "backport-request" label and remove when the backport was done)

@codecov

codecov Bot commented Feb 22, 2019

Copy link
Copy Markdown

Codecov Report

Merging #34582 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #34582   +/-   ##
=========================================
  Coverage     65.16%   65.16%           
  Complexity    18364    18364           
=========================================
  Files          1200     1200           
  Lines         69684    69684           
  Branches       1283     1283           
=========================================
  Hits          45407    45407           
  Misses        23903    23903           
  Partials        374      374
Flag Coverage Δ Complexity Δ
#javascript 53.1% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.55% <ø> (ø) 18364 <ø> (ø) ⬇️

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 217e803...23831c0. Read the comment docs.

1 similar comment
@codecov

codecov Bot commented Feb 22, 2019

Copy link
Copy Markdown

Codecov Report

Merging #34582 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #34582   +/-   ##
=========================================
  Coverage     65.16%   65.16%           
  Complexity    18364    18364           
=========================================
  Files          1200     1200           
  Lines         69684    69684           
  Branches       1283     1283           
=========================================
  Hits          45407    45407           
  Misses        23903    23903           
  Partials        374      374
Flag Coverage Δ Complexity Δ
#javascript 53.1% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.55% <ø> (ø) 18364 <ø> (ø) ⬇️

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 217e803...23831c0. Read the comment docs.

@individual-it individual-it merged commit 83a1f91 into master Feb 22, 2019
@delete-merged-branch delete-merged-branch Bot deleted the handle-no-OCS-status branch February 22, 2019 08:16
@lock lock Bot locked as resolved and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants