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

Submission fix #543

Merged
merged 3 commits into from
Feb 20, 2025
Merged

Submission fix #543

merged 3 commits into from
Feb 20, 2025

Conversation

awf-dbca
Copy link
Contributor

There was a problem with new WLA and AUA proposals not being accepted on the basis of vessel registration number already been in use when they actually were not.

Investigation revealed that the blocking approvals check included approvals with proposals where the vessel ownership fields were set to None. Because new proposals also have vessel ownership fields set to None, effectively any approved proposal with no vessel ownership would render all application unable to be submitted.

This would not usually be a problem as all approved proposals should have vessel ownership set, however an exception to this has occurred on UAT. This PR fixes the validation query to only retrieve approved proposals with vessel ownerships set (using the rego_no otherwise) to allow submissions even after the unexpected behaviour has occurred.

Further work to determine how an accepted proposal exists without a vessel ownership can happen and what, if any, further impact it may have.

Some general validation fixes RE vessel dimensions have also been included.

Copy link
Contributor

@preranaandure preranaandure left a comment

Choose a reason for hiding this comment

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

Sensitivity check complete

@preranaandure preranaandure merged commit e96f719 into dbca-wa:main Feb 20, 2025
10 checks passed
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.

2 participants