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 view licence summary for incomplete licences #1033

Merged
merged 10 commits into from
May 19, 2024

Conversation

Cruikshanks
Copy link
Member

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

In testing, we have found licences that have incomplete information. For example, 28/39/29/0048C has no contacts, not even a licence holder, nor any licence version records.

The data doesn't appear to exist in the NALD extract we receive, so we have nothing we can use to fill in the missing pieces. But we don't want our licence summary to break when a user searches for the licence and then clicks through.

So, these changes ensure the page shouldn't error when a user selects one of these incomplete licences.

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

In testing we have found licences that have incomplete information. For example, `28/39/29/0048C` has no contacts, not even a licence holder, nor any licence version records.

The data doesn't appear to exist in the NALD extract we receive so we have nothing we can use to fill in the missing pieces. But we don't want our licence summary to break when a user searches for the licence, then clicks through.

So, these changes ensure the page _shouldn't_ error when a user selects one of these incomplete licences.
@Cruikshanks Cruikshanks added the bug Something isn't working label May 19, 2024
@Cruikshanks Cruikshanks self-assigned this May 19, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review May 19, 2024 22:29
@Cruikshanks Cruikshanks merged commit da00557 into main May 19, 2024
5 of 6 checks passed
@Cruikshanks Cruikshanks deleted the fix-view-licence-for-incomplete-licences branch May 19, 2024 22:29
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.

1 participant