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

Update trip status on request on delete #7

Merged
merged 3 commits into from
Sep 24, 2021
Merged

Conversation

landonreed
Copy link
Member

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.

Comment on lines 552 to 555

System.out.println(requestId);
System.out.println(numStudents);
System.out.println(numChaperones);
System.out.println(numFreeStudents);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove these.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted in dbf308c.

/**
* 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() {

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed case in dbf308c.

Copy link

@evansiroky evansiroky left a 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 evansiroky assigned landonreed and unassigned evansiroky Aug 4, 2021
@landonreed landonreed assigned evansiroky and unassigned landonreed Sep 11, 2021
@landonreed
Copy link
Member Author

@evansiroky would you be able to assign this to @binh-dam-ibigroup? He and Miles may also need to be added to this repo.

@evansiroky
Copy link

Just assigned to @binh-dam-ibigroup for final review at the request of @landonreed

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@binh-dam-ibigroup binh-dam-ibigroup merged commit e787edd into master Sep 24, 2021
@binh-dam-ibigroup binh-dam-ibigroup deleted the fix-delete-trip branch September 24, 2021 15:59
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.

Field Trip Module: Checkmark icon persists after deleting saved itinerary
3 participants