Skip to content

PSP-11333: When saving a property that is in the MOTT Inventory but lacks of spatial data, the property is saved within the file but it doesn't navigate back to the View form#5277

Merged
areyeslo merged 2 commits intobcgov:devfrom
areyeslo:PSP-11333-RoutingProperty-AcquisitionFile
Apr 8, 2026

Conversation

@areyeslo
Copy link
Copy Markdown
Collaborator

@areyeslo areyeslo commented Apr 8, 2026

When the user adds a property with no boundary or location, they are prompted with the modal “User Override Required.” When the user accepts, the navigation goes to Update Property instead of the file details.
image

The fix allows the user to navigate to file details instead of having to click on Cancel button to go tack to file details.
image

Jira

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5277

@asanchezr asanchezr added bug Something isn't working 6.1 labels Apr 8, 2026
await fetchLastUpdatedBy();
mapMachine.refreshMapProperties();
setIsEditing(false);
if (acquisitionFileId) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: please use isValidId() to check acquisitionFileId

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5277

@areyeslo areyeslo added this pull request to the merge queue Apr 8, 2026
Merged via the queue into bcgov:dev with commit 6edab87 Apr 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.1 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants