-
Notifications
You must be signed in to change notification settings - Fork 14
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
BUG: Student and Institution: PIR: Program Name and Program Description from student request not displayed for institution or for student (View Application) #3789
Labels
Milestone
Comments
astridSABC
added
Ad-hoc
Bug
Something isn't working
Institution
Institution Features
Student
Student Features
Business
Items under Business Consideration
labels
Oct 11, 2024
-- |
Joshua-Lakusta
added
Dev & Architecture
Development and Architecture
and removed
Business
Items under Business Consideration
labels
Oct 22, 2024
@sh16011993 Just reproduced in test |
sh16011993
added a commit
that referenced
this issue
Nov 15, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 15, 2024
**As a part of this PR, the bug for the PIR where the Program Name and the Program Description are not showing up once the application is submitted is fixed.** **Fix:** The bug was happening because both the fields (Name and Description) were having a conditional set as below: ``` "conditional": { "show": true, "when": "programnotListed", "eq": "true" }, ``` Removed the above piece of code for both the program name and program description for all the program years. The problem is that `programnotListed` never has the value `true`. It is a `Select Boxes Component` rather than the `Checkbox Component` which gets the value `programnotListed`. We do not need to rely on this component because both the components `Program Name` and `Program Description` are wrapped inside a container component that has a conditional setup on it. Tested the above for the below scenarios: **1. Program is not listed** <img width="1025" alt="image" src="https://github.com/user-attachments/assets/4e14f404-af5e-4306-b970-b7859cbce5a6"> ------------------------------------------------------------------------------------------------------------- **2. Study is not listed** <img width="944" alt="image" src="https://github.com/user-attachments/assets/926615d5-6e12-4acb-888e-152be523c166">
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 19, 2024
## Updated the condition to render the program name and program description - [x] Updated the condition to render the program name and program description fields only when a program is not selected in the student application(One of the PIR situation). - [x] The input which says `Your program is not listed` is a `select box` and not check box. So we can use only custom condition to evaluate its output at it will be in an object form like this. ```json "myProgramNotListed": { "programnotListed": false } ``` ![image](https://github.com/user-attachments/assets/f3d55d2a-4455-4bed-883d-b5d78e0c1cc8) **Formio condition updated to :** ![image](https://github.com/user-attachments/assets/305385c3-30ac-4434-b5d2-c5d9a9c74227) ## Updated the read only selected program and offering display - [x] Updated the read only selected program and selected offering display only when the respective value is present. Currently it is displaying as blank in PIR situations. ![image](https://github.com/user-attachments/assets/00e42823-5e4c-4f67-a0aa-5d5864e7a478) ![image](https://github.com/user-attachments/assets/d5fa0abc-c7ab-4e00-b5a1-96dc189299b2)
github-merge-queue bot
pushed a commit
that referenced
this issue
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. - [x] 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](https://github.com/user-attachments/assets/a9e9843a-c18e-4de8-b1a7-3b3373380cde) ![image](https://github.com/user-attachments/assets/5f1944df-5340-4ef7-b471-ab89cf3dd625)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the Bug
The PIR (Programs) program name and program description created by the student are not displayed in the Student View Application or in the Institution PIR view for the request.
The institution won't know what program that the student is requesting.
Expected Behaviour
Student View Application
Program name that you entered is displayed
Program description that you entered is displayed
Start date and end dates that you entered are displayed
TBD: Select your study dates section is not displayed as this is a program request
Institution view
Program name that the student entered is displayed
Program description that the student entered is displayed
Start date and end dates that the student entered are displayed
Actual Behaviour
Student view:
Program name that the student entered is not displayed. ‘Enter the name of your program’ is displayed
Program description field is blank
Start date and end dates are displayed
Select your study dates and field is not displayed/disabled
Institution view:
Program name that the student entered is not displayed
Program description that the student entered is not displayed
Steps To Reproduce
Precondition:
BC Public institution (designated)
Student account with verified SIN
Technical
The text was updated successfully, but these errors were encountered: