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

#3789 - Fix program description on Institution PIR Page #3967

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

dheepak-aot
Copy link
Collaborator

@dheepak-aot dheepak-aot commented Nov 20, 2024

Issue description and fix

Issue: When a program is selected in a student application but study period is not selected and submitted for PIR review, the Institution PIR page was displaying the program name in the program description section.

  • Fix: The formIO was neither receiving nor displaying a program description that was coming from the original program. Hence the API was enhanced and FormIO was updated to receive the program description variable.

image

image

@dheepak-aot dheepak-aot added SIMS-Api SIMS-Api Form.io Form IO definitions changed. labels Nov 20, 2024
@dheepak-aot dheepak-aot self-assigned this Nov 20, 2024
Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 22.1% ( 3718 / 16821 )
Methods: 10.19% ( 214 / 2100 )
Lines: 25.44% ( 3226 / 12680 )
Branches: 13.62% ( 278 / 2041 )

Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 65.43% ( 583 / 891 )
Methods: 59.26% ( 64 / 108 )
Lines: 68.54% ( 464 / 677 )
Branches: 51.89% ( 55 / 106 )

Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 86.93% ( 1244 / 1431 )
Methods: 88.57% ( 124 / 140 )
Lines: 87.78% ( 1056 / 1203 )
Branches: 72.73% ( 64 / 88 )

Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 66.96% ( 5773 / 8622 )
Methods: 64.8% ( 718 / 1108 )
Lines: 70.88% ( 4530 / 6391 )
Branches: 46.75% ( 525 / 1123 )

@guru-aot guru-aot self-requested a review November 20, 2024 15:23
@@ -522,6 +522,7 @@ export class ApplicationService extends RecordDataModelService<Application> {
"user.lastName",
"pirProgram.id",
"pirProgram.name",
"pirProgram.description",
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@@ -627,7 +629,7 @@
"value": ""
}
],
"content": "<!--studentCustomProgramDescription value is from the application dynamic data(text field) \nand studentSelectedProgram is from the program drop down-->\n{{ data.studentCustomProgramDescription ?? data.studentSelectedProgram }}",
"content": "<!--studentCustomProgramDescription value is from the application dynamic data(text field) \nand studentSelectedProgram is from the program drop down-->\n{{ data.studentCustomProgramDescription ?? data.studentSelectedProgramDescription }}",
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@guru-aot guru-aot left a comment

Choose a reason for hiding this comment

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

LGTM, nice and quick fix @dheepak-aot

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Great fix, looks good 👍

@dheepak-aot dheepak-aot added this pull request to the merge queue Nov 20, 2024
Merged via the queue into main with commit 3eec04e Nov 20, 2024
20 checks passed
@dheepak-aot dheepak-aot deleted the fix/3789-pir-program-description branch November 27, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Form.io Form IO definitions changed. SIMS-Api SIMS-Api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants