Skip to content

bugfix: Post MSA release bug fixes - #1645

Open
jag-nahl-airelogic wants to merge 7 commits into
developmentfrom
bugfix/post-release-bug-fixes
Open

bugfix: Post MSA release bug fixes#1645
jag-nahl-airelogic wants to merge 7 commits into
developmentfrom
bugfix/post-release-bug-fixes

Conversation

@jag-nahl-airelogic

Copy link
Copy Markdown
Collaborator
  • Fixed microcopy constant on categoryLandingPage
  • Added ContinueSelfAssessment page to the ChangeSchool banner exclusion list.
  • Changed the select schools for single school to still use session instead of cookie as that is still technically a bulk assessment and sessions/cookies is how we differentiate that for now.

- Included `GetContinueSelfAssessment` action in `_Layout.cshtml` hashset for improved navigation.
- Resolved incorrect microcopy key for topics without establishment names in `SectionAssessmentLink.cshtml`.
…atMultiSchoolAssessment`

- Deleted outdated single-school selection tests and related methods from `GroupsViewBuilder`.
- Replaced `IsMatMultiSchoolAssessment` with `IsMatBulkAssessment` throughout the solution for clarity and consistency.
- Introduced unit tests for bulk assessment logic in `MatEstablishmentProviderTests`.
@jag-nahl-airelogic

Copy link
Copy Markdown
Collaborator Author

@gilaineyo - I've put some post release MSA fixes here. One thing needing to be fixed was that we needed too display the school selected dropdown on question pages. The only way we currently have to differentiate between bulk assessment and single school assessment was sessions vs cookies. In the select schools bit, you put a if statement of "if the selection is 1" then we just select the school and set the cookie instead otherwise use session. I've removed this and just left it all within the loop so it adds it to the session if any amount is selected. I just wanted to check if there was a specific reason we had that if statement or if it is ok as it is now in the PR? Thanks

…on and handling

- Added explicit validation for single school selection, ensuring proper group membership and required data.
- Improved in-progress submission handling by differentiating between single and multiple school selections.
- Updated session management logic for selected schools.
…sViewBuilder

- Consolidated logic for single and multiple school selections, improving readability and maintainability.
- Strengthened validation checks for group membership and school data integrity.
- Refined session management for selected schools and in-progress submissions.
@jag-nahl-airelogic

Copy link
Copy Markdown
Collaborator Author

@gilaineyo I've put back the original code and just added the line that adds it to the session. Removing the selected cookie causes issues with continue self-assessment (probably a future task to sort out sessions/cookie and get it all within sessions). Tested single, in-progress, multiple and all and all seems to be working.

@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
33.3% Coverage on New Code (required ≥ 80%)
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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