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

TN-3184, report any in-process QNRs attempting to change authored dates #4336

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

pbugni
Copy link
Collaborator

@pbugni pbugni commented Aug 28, 2023

When a questionnaire response is UPDATED (via PUT from the assessment engine), make a note of the situation in the audit log, and log a warning as per TN-3184.

Example audit generated when testing:

 410347 |     128 |       4032 | assessment     | 2023-08-28 23:15:56.849448 | 2
3.7.24.3.dev4+g5b2dcee5.d20161205 | updated QuestionnaireResponse 4175 for user
4032 completed 2023-01-08T20:00:00Z UNEXPECTED authored change; was previously 2
023-01-04T20:00:00Z

@pbugni pbugni requested a review from mcjustin August 28, 2023 23:36
@pbugni
Copy link
Collaborator Author

pbugni commented Sep 6, 2023

opting to merge w/o review, following QA pass, given minor change to code.

@pbugni pbugni merged commit 1c08c21 into develop Sep 6, 2023
2 checks passed
@pbugni pbugni deleted the feature/log-on-QNR-authored-change branch September 6, 2023 23:03
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.

1 participant