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

Fix default licence view createdBy #1138

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

jonathangoulding
Copy link
Collaborator

@jonathangoulding jonathangoulding commented Jun 24, 2024

https://eaflood.atlassian.net/browse/WATER-4422

When a return version does not have a user linked to the record the default string should be "Migrated from NALD".

The assumption is a user can not create a return unless they are logged in. When the return is saved the user will be captured and stored in the createdBy column. Therefore, if the created by field is null then it is safe to assume the data has been migrated from NALD.

https://eaflood.atlassian.net/jira/software/c/projects/WATER/boards/96?selectedIssue=WATER-4422

When a return version does not have a user linked to the record the default string should be "Migrated from NALD".

The assumption is a user can not create a return unless they are logged in. When the return is saved the user will be captured and stored in the createBty column. Therefore, if the created by field is null then it is safe to assume the data has been migrated from NALD.
@jonathangoulding jonathangoulding added the bug Something isn't working label Jun 24, 2024
@jonathangoulding jonathangoulding self-assigned this Jun 24, 2024
Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

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

Only thing to point out is to do with the PR description

@jonathangoulding jonathangoulding merged commit f07e074 into main Jun 24, 2024
6 checks passed
@jonathangoulding jonathangoulding deleted the fix-missing-created-by-default branch June 24, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants