-
Notifications
You must be signed in to change notification settings - Fork 1
TD-5307 Select competency framework source #3417
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
base: DLS-Release-v1.3.0
Are you sure you want to change the base?
TD-5307 Select competency framework source #3417
Conversation
rshrirohit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue 3 stated in the Jira ticket is not solved here, please could we solve for that as well?
rshrirohit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| if (!ModelState.IsValid || (model.FrameworkId == 0 && model.ActionName == "AddFramework")) | ||
| { | ||
|
|
||
| if (model.FrameworkId == 0 && model.ActionName == "AddFramework") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this, please do the validation in the Model (make the frameworkid nullable so that it can't accept zero as a value. you'll have to change in cshtml as well where a default value of zero is provided)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
I could not replicate this issue |




JIRA link
https://hee-tis.atlassian.net/browse/TD-5307
Description
I added a check to ensure that when a framework source is not selected, the user is notified
I also modified the SelfAssessmentFields query to remove framework sources that have already been removed from the competency assessment
Screenshots
before removing the framework source





when you click the add button without selecting any framework source
After removing the framework source
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have:
Either:
Or: