Skip to content

[MDS-6194] Major project duplication #3269

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

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

matbusby-fw
Copy link
Collaborator

Objective

On the ProjectSummaryPage in Minespace the projectFormTabs variable was null. As a result, when the system attempted to replace the current url with one containing the new project and project summary guids it would pass in that null value as part of the route and fail.

Loaded the projectFormTabs properly and it seems to work fine.

MDS-6194

major-project-duplicate

Copy link

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_minespace-web'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@matbusby-fw matbusby-fw added the 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback. label Oct 17, 2024
const projectFormTabs = null;
const projectFormTabs = getProjectFormTabs(
amsFeatureEnabled,
isCore,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Y'know, I even noticed that this function was throwing errors!
Technically this should always be false as this is a MineSpace file, but I'm not bothered by a bit of extra robustness.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I thought might as well add the actual flag for that imaginary case where this component gets used in Core at some point for some weird unknown reason.

@matbusby-fw matbusby-fw merged commit 4632b89 into develop Oct 17, 2024
10 checks passed
@matbusby-fw matbusby-fw deleted the mds-6194-fix-major-project-duplication branch October 17, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants