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

2720 cold chain missing data create temporary breaches #2913

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

jmbrunskill
Copy link
Contributor

Fixes #2720

πŸ‘©πŸ»β€πŸ’» What does this PR do?

Creates temporary breach records if a temperature log references a breach that doesn't already exist.
This shouldn't be necessary with other code changes in CCA, but did solve a problem for me with breaches created before the app was integrated with Open-mSupply...

πŸ§ͺ How has/should this change been tested?

πŸ’Œ Any notes for the reviewer?

Should we include this code? Or just rely on the CCA app update?

I had to add Excusion to the frontend as a breach type, panic seemed to extreme a response to this!

πŸ“ƒ Documentation

No user facing changes

@github-actions github-actions bot added bug Something is borken feature: coldchain Team Piwakawaka James, LachΓ©, Carl labels Feb 8, 2024
@jmbrunskill jmbrunskill changed the base branch from develop to 2720-cold-chain-sometimes-graph-missing-sections February 8, 2024 04:14
@jmbrunskill jmbrunskill changed the title 2720 cold chain missing data tmp breaches 2720 cold chain missing data create temporary breaches Feb 8, 2024
Base automatically changed from 2720-cold-chain-sometimes-graph-missing-sections to develop February 8, 2024 04:18
Copy link
Collaborator

@mark-prins mark-prins left a comment

Choose a reason for hiding this comment

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

πŸ‘ LGTM!

I think this is sensible and low risk. it likely won't be needed in most cases, still good to have it in tho

@mark-prins mark-prins self-assigned this Feb 11, 2024
@jmbrunskill jmbrunskill merged commit bff3483 into develop Feb 11, 2024
2 checks passed
@jmbrunskill jmbrunskill deleted the 2720-cold-chain-missing-data-tmp-breaches branch February 11, 2024 23:49
@roxy-dao roxy-dao added this to the V1.7.0 milestone Mar 11, 2024
@jmbrunskill jmbrunskill mentioned this pull request Jul 31, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is borken feature: coldchain Team Piwakawaka James, LachΓ©, Carl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cold chain: Sometimes graph missing sections
3 participants