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

Hotfit/user consent withdrawal date regression #4358

Closed
wants to merge 17 commits into from

Conversation

pbugni
Copy link
Collaborator

@pbugni pbugni commented Jan 23, 2024

not ready!!!

reverts bug introduced by #4343 , which incorrectly started using the oldest (not most recent) user_consent as last valid consent prior to withdrawal.

includes migration to clean up problem cases. required careful re-assessment of consent/withdrawal dates for a number of patients found to have qb_timeline revisions after applying patch above. see https://movember.atlassian.net/browse/IRONN-210 for more detail.

@pep8speaks
Copy link

pep8speaks commented Jan 23, 2024

Hello @pbugni! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 931:80: E501 line too long (88 > 79 characters)

Line 171:80: E501 line too long (87 > 79 characters)
Line 186:80: E501 line too long (86 > 79 characters)

Line 38:80: E501 line too long (96 > 79 characters)
Line 80:80: E501 line too long (92 > 79 characters)

Line 508:80: E501 line too long (85 > 79 characters)
Line 509:80: E501 line too long (81 > 79 characters)

Line 901:80: E501 line too long (82 > 79 characters)

Comment last updated at 2024-02-07 01:19:20 UTC

@pbugni pbugni force-pushed the hotfit/user_consent_withdrawal_date_regression branch from b35f612 to 5810415 Compare January 25, 2024 00:41
@pbugni pbugni changed the base branch from master to develop February 4, 2024 20:38
@pbugni pbugni force-pushed the hotfit/user_consent_withdrawal_date_regression branch from 65cf04b to d6a1f4d Compare February 4, 2024 20:42
… order - the user of `acceptance_date` assumed the newest date would always be best - that's false logic.
… order - the user of `acceptance_date` assumed the newest date would always be best - that's false logic.
…ents, when looking for consent date after user's consent has been suspended (withdrawn)
…s completed prior to withdrawal - was reporting status "withdrawn"
@pbugni pbugni force-pushed the hotfit/user_consent_withdrawal_date_regression branch from 0cfe77f to 5f201e7 Compare February 7, 2024 01:19
@pbugni pbugni closed this Feb 7, 2024
@pbugni pbugni deleted the hotfit/user_consent_withdrawal_date_regression branch February 7, 2024 02:56
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.

None yet

2 participants