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

BugFix - Adjust Error Handling On Survey Participation Repo Function #1080

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

NickPhura
Copy link
Collaborator

Links to Jira Tickets

n/a

Description of Changes

Fix bad error handling on a repo function. Function was throwing on empty array, when empty array should be expected/allowed.

Testing Notes

Projects/survey pages should load without error when the survey has not defined any survey level participant jobs

@NickPhura NickPhura changed the title BugFix - fix bad error handling on survey participation repo function BugFix - Adjust Error Handling On Survey Participation Repo Function Aug 30, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #1080 (28ee34a) into dev (5fe85d7) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev    #1080      +/-   ##
==========================================
- Coverage   64.35%   64.34%   -0.01%     
==========================================
  Files         440      440              
  Lines       13512    13510       -2     
  Branches     2151     2150       -1     
==========================================
- Hits         8695     8693       -2     
  Misses       4287     4287              
  Partials      530      530              
Files Changed Coverage Δ
...rc/repositories/survey-participation-repository.ts 87.87% <ø> (-0.70%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🍦

@curtisupshall curtisupshall merged commit 130364f into dev Aug 31, 2023
KjartanE pushed a commit that referenced this pull request Sep 5, 2023
* Fix bad error handling on a repo function. Function was throwing on empty array, when empty array should be expected/allowed.
@NickPhura NickPhura deleted the bugfix branch October 6, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants