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

Community: Prevent null billing config on upload #61

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Community: Prevent null billing config on upload #61

merged 1 commit into from
Oct 7, 2024

Conversation

JAVGan
Copy link
Collaborator

@JAVGan JAVGan commented Oct 1, 2024

This commit changes the community_push.items._set_push_item_billing_code function to prevent returning a push item with no billing codes.

The function _set_push_item_billing_code is only called when the billing config is required and it doesn't make sense to let a push item miss it when this value is required.

It also improve the billing config matching debugging logs to help analyze what could have happened when such push item doesn't have a billing code match.

Refers to SPSTRAT-408

@JAVGan JAVGan force-pushed the bconf branch 2 times, most recently from b1808e5 to 412c765 Compare October 1, 2024 20:49
@JAVGan
Copy link
Collaborator Author

JAVGan commented Oct 1, 2024

@lslebodn @jajreidy PTAL

This commit changes the `community_push.items._set_push_item_billing_code`
function to prevent returning a push item with no billing codes.

The function `_set_push_item_billing_code` is only called when the
billing config is required and it doesn't make sense to let a push item
miss it when this value is required.

It also improve the billing config matching debugging logs to help
analyze what could have happened when such push item doesn't have a
billing code match.

Refers to SPSTRAT-408
Copy link
Collaborator

@jajreidy jajreidy left a comment

Choose a reason for hiding this comment

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

LGTM

@JAVGan JAVGan merged commit 42d3e7f into main Oct 7, 2024
18 checks passed
@JAVGan JAVGan deleted the bconf branch October 7, 2024 17:33
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