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

Handle more potential Lumen statuses seen in the field #90

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

glennmatthews
Copy link
Contributor

Handle the potential Lumen status values of "Not Completed" and "Postponed", as seen in actual emails.

Additionally, for some updates to an existing maintenance, there is no column in the table describing the status. To avoid an error in this case (status is a mandatory field), I'm setting the status to a default of "CONFIRMED" - is this the best way to handle this?

Copy link
Collaborator

@chadell chadell left a comment

Choose a reason for hiding this comment

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

LGTM, but if we had some test sample could be even better :)

@glennmatthews
Copy link
Contributor Author

The samples I have fully pass existing parsing except for the differing status values, so I wasn't sure they were worth adding as additional test cases. I can redact them and add them as tests if you think it's worthwhile.

@glennmatthews glennmatthews merged commit 491ea99 into develop Oct 1, 2021
@glennmatthews glennmatthews deleted the gfm-extra-lumen-statuses branch October 1, 2021 13:41
@glennmatthews glennmatthews mentioned this pull request Oct 1, 2021
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.

2 participants