You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When retrieving military history records for a veteran, there is a conditional check in place that uses the profile_show_military_academy_attendance feature flag to determine whether to display academy attendance records.
The code checks the flag using the @current_user on line in the VAProfile::MilitaryPersonnel::Service. The @current_user is returning nil. It should be changed from @current_user to @user.
Tasks
Determine if this code should be removed along with the feature flag.
Either remove logic or change @current_user to @user.
Acceptance Criteria
Code is removed or fixed.
The text was updated successfully, but these errors were encountered:
Summary
When retrieving military history records for a veteran, there is a conditional check in place that uses the
profile_show_military_academy_attendance
feature flag to determine whether to display academy attendance records.The code checks the flag using the @current_user on line in the VAProfile::MilitaryPersonnel::Service. The @current_user is returning
nil
. It should be changed from@current_user
to@user
.Tasks
@current_user
to@user
.Acceptance Criteria
The text was updated successfully, but these errors were encountered: