An issue was identified where travel segments created with Mode: Train were incorrectly generating duplicate destination records as Airports, even when the intended destinations were train stations. This has now been resolved.


Issue Details

Previously, when users created a travel reservation with Mode: Train, the system treated all departure and arrival locations as airport-type destinations. This resulted in inaccurate data and unnecessary duplication in the destination records.


Resolution

The system logic has been updated to correctly handle travel modes:

  • Train Segments
    • Departure and Arrival values are now matched against City-type destinations.
    • If no matching city exists, a new City destination record is created.
    • If a match is found, no new record is created.
  • Flight Segments
    • Continue to match against Airport-type destinations as expected.

This fix applies to travel reservations of type Air/Other.


Additional Information

Support for other travel modes such as Bus and Boat is not yet included in this update. Enhancements for those modes are planned for future releases.