-
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
Create Application Versioning and use the versioning to get previous version(s) #4247
Open
4 of 8 tasks
Comments
sh16011993
added a commit
that referenced
this issue
Feb 3, 2025
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 5, 2025
### As a part of this PR, the following were completed: - Created migrations for the 2 columns: `parent_application_id` and `preceding_application_id`. - Added the above columns to the database entity models. - Created the DB migration to have the new columns populated for the existing entries. - Adjusted the code logic to save the `parent-application-id` and the `preceding-application-id` for the application created for the first time (as draft) and then again, these columns to be updated when the application is edited and submitted again. - Adjusted the e2e tests for `workers`, `queue-consumers` and `api` to adapt to the change in logic. ### **Screenshot:** **Rollback evidence:** <img width="1130" alt="image" src="https://github.com/user-attachments/assets/0bfdd2ec-bbac-4fe7-a7e1-d90cb6a2aa55" /> --------- Co-authored-by: Dheepak Ramanathan <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 6, 2025
### As a part of this PR, the following was completed: - Added Indexes for the `parent_application_id` and `preceding_application_id` columns.
sh16011993
added a commit
that referenced
this issue
Feb 11, 2025
sh16011993
added a commit
that referenced
this issue
Feb 11, 2025
Tagging this to 2.6 - for QA @astridSABC for 2.5, we should still test create, edit, resubmit and draft applications as a regression test. cc: @Joshua-Lakusta |
@ninosamson Test Environment: Pass: Create, Edit, Resubmit application and Create draft application (edit, save draft) cc: @Joshua-Lakusta |
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 21, 2025
### As a part of this PR, the following were completed: - Adjusted the necessary controllers / methods in the API to allow the student application view on the Ministry and the Institution to optionally retrieve the latest application details based on the provided application id (considered as parent application) or to retrieve the application details of the passed application id based on the value of the query parameter `isParentApplication` set to true or false respectively. - Modified the existing method to `check if a previous application exists` and added a method to `retrieve the current application from the parent application`. - Adjusted the existing API `e2e tests`. --------- Co-authored-by: Dheepak Ramanathan <[email protected]>
sh16011993
added a commit
that referenced
this issue
Feb 26, 2025
- Changes for the Institution View - Changes for the Supporting User
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the task
When a student application is edited and submitted one or more times, then we have previous version(s) of the same application. Currently we use the
application number
(not id) and thesubmitted date
to retrieve the previous versions.Instead we should start to version the application in DB (Similar to offerings) and use the version to retrieve the previous versions.
Acceptance Criteria
sims.applications
student application view
in ministry(comes from student search).Additional context
Technical
parent_application_id
andpreceding_application_id
.application_parent_id
.application_parent_id
.The text was updated successfully, but these errors were encountered: