Skip to content

Colons in entity IDs break the web client #2474

Description

@vdng9338

In some GTFS feeds, especially when they contain multiple agencies, colons are used in entity IDs. This is the case in the following feeds for instance:

The server handles that perfectly well, but the web client is partially broken when this occurs. The scripts usually split the feedID:entityID into parts in the following way:

var parts = agencyStopId.split(':');
var agencyId = parts[0];
var stopId = parts[1];

Everything beyond that is ignored, resulting in bugged popups.
Screenshot 1
Screenshot 2

Version of OTP used (exact commit hash or JAR name)

Commit c53497a.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions