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

Issue 307: POWF - to make the expenseClass optional. #310

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

kaladay
Copy link
Contributor

@kaladay kaladay commented Oct 6, 2023

resolves #307

The workflow is failing due to not properly handling existence cases, such as NULL checks. Provide a helper function extractResponseArray() to perform the needed checks.

This change does not determine what to do when required values are not defined. An error at a different part of the process may occur but such an error will likely be due to bad data.

The decision here is to use undefined rather than null for the cases where the existence checks fail. If this is a problem, then this can be changed to null instead of undefined.

The workflow is failing due to not properly handling existence cases, such as NULL checks.
Provide a helper function `extractResponseArray()` to perform the needed checks.

This change does not determine what to do when required values are not defined.
An error at a different part of the process may occur but such an error will likely be due to bad data.

The decision here is to use `undefined` rather than `null` for the cases where the existence checks fail.
If this is a problem, then this can be changed to `null` instead of `undefined`.
@kaladay kaladay linked an issue Oct 6, 2023 that may be closed by this pull request
This is no longer being used and I forgot to remove it in the previous commit.
@kaladay kaladay merged commit fff8bb3 into staging Oct 10, 2023
@kaladay kaladay deleted the 307-powf-expenseClass branch October 10, 2023 15:20
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.

POWF - to make the expenseClass optional
3 participants