TheTransitClock / transitime

TheTransitClock real-time transit information system
GNU General Public License v3.0
78 stars 29 forks source link

ability to load GTFS that contain entries longer than 1024 characters #229

Open wkulesza opened 3 years ago

wkulesza commented 3 years ago

Expected functionality Ability to load a GTFS that has entries longer than 1024 characters

Describe the bug When one is trying to load a GTFS that contains an entry with more than 1024 characters (for example a route_desc in routes.txt) TC will start, but will not show any schedule data.

To Reproduce Try using any GTFS that contains a route_desc with more than 1024 characters.

Screenshots

scrudden commented 3 years ago

If we remove the length from the annotation it will allow any length.

https://github.com/TheTransitClock/transitime/blob/5347c073752a3c9d66d7837f77ad6b9359a9d9c9/transitclock/src/main/java/org/transitclock/db/structs/Route.java#L89-L90