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

Fixed NFR03 #10

Merged
merged 1 commit into from
Oct 9, 2020
Merged

Fixed NFR03 #10

merged 1 commit into from
Oct 9, 2020

Conversation

Liljenmaa
Copy link
Contributor

@Liljenmaa Liljenmaa commented Oct 8, 2020

[CHECK BELOW FOR RELEVANT LINES OF CODE FOR REVIEW]

Bug: Unconfirmed status of track supervisor was applied whenever the save button was pressed (with updates or not) in the Scheduling screen with the following statuses:

Range officer present
Range officer confirmed
Range officer on the way

Other statuses were unaffected.

Solution: There was a bit of code that set the track supervisor to unconfirmed in the previous cases, intended to "reset" the track supervisor whenever the track supervisor was changed in the Schedules screen. This was fixed by making the system remember the original track supervisor id and then comparing the one that is being saved to this value. If it differs, then the track supervisor is set to unconfirmed, otherwise the status remains as it was.

Relevant lines of code (in the modified file):
87
157
597

@TuoLuo994 TuoLuo994 merged commit 4ae8308 into develop Oct 9, 2020
@snottis snottis deleted the fix-NFR03 branch October 17, 2021 07:58
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