-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update trip status on request on delete #7
Conversation
app/controllers/FieldTrip.java
Outdated
|
||
System.out.println(requestId); | ||
System.out.println(numStudents); | ||
System.out.println(numChaperones); | ||
System.out.println(numFreeStudents); |
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.
Please remove these.
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.
Deleted in dbf308c.
app/controllers/FieldTrip.java
Outdated
/** | ||
* Gson exclusion strategy designed to skip fields that could contribute to an overly large JSON response. | ||
*/ | ||
private static final ExclusionStrategy FIELD_TRIP_EXCLUSION_STRATEGY = new ExclusionStrategy() { |
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.
This variable probably doesn't need to be in SCREAMING_SNAKE_CASE.
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.
Changed case in dbf308c.
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.
Good to go after addressing minor comments.
@evansiroky would you be able to assign this to @binh-dam-ibigroup? He and Miles may also need to be added to this repo. |
Just assigned to @binh-dam-ibigroup for final review at the request of @landonreed |
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.
LGTM
This fixes ibi-group/trimet-mod-otp#302. Because the status field was not being updated on delete, the trip status icon was showing a "check" even after deleting the trip.