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

Handle returns without alias in friendly response #366

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

Cruikshanks
Copy link
Member

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

We found in testing that some return records do not have an alias which we assumed all did. After checking what the UI does in these cases we found it just displays the description against the nald.purposes[0].tertiary object in the metadata as a fallback.

This updates the 'friendly' response to handle it.

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

We found in testing that some return record do not have an alias which we assumed all did. After checking what the UI does in these cases we found it just displays the description against the `nald.purposes[0].tertiary` object in the `metadata` as a fallback.
@Cruikshanks Cruikshanks added the bug Something isn't working label Aug 17, 2023
@Cruikshanks Cruikshanks self-assigned this Aug 17, 2023
@Cruikshanks Cruikshanks marked this pull request as ready for review August 17, 2023 13:51
@Cruikshanks Cruikshanks merged commit 38bc972 into main Aug 17, 2023
@Cruikshanks Cruikshanks deleted the handle-returns-without-aliases branch August 17, 2023 13:51
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