OneBusAway/onebusaway-application-modules — pull request #33 by kurtraschke (2012-11-27 02:57:06+00:00)
Title: Accept GTFS-realtime trip updates which have a route ID set along with a trip ID

As long as an update has a trip ID set, it should not be rejected by OBA. This resolves issues seen in the wild with the GTFS-realtime feed from the AMT and other agencies.

This was previously discussed on the mailing list, and the patch in this pull request was found to resolve the problem. I don't know why the condition was originally written as (!trip.hasTripId() || trip.hasRouteId()), so it is possible that this could somehow break things, but in my cursory examination I don't see how.

https://groups.google.com/d/topic/onebusaway-users/3tUHwRKFpb0/discussion