Skip to content

AgencyId in SubsectionTripTransformStrategy is not preserved? #181

@marecabo

Description

@marecabo

Summary:

I suspect that this line

should actually be like this line

because both methods are trimming trips somehow (still need to grasp their differences, though).

Steps to reproduce:

I have not run anything yet, I'm reading and trying to understand the code's functionality.

Expected behavior:

I expect the original AgencyId to persist when transforming a trip, or, if this is not reasonable, to use a configurable AgencyId.

Observed behavior:

The line in SubsectionTripTransformStrategy introduces a new constant AgencyId "1" and does not reuse the AgencyId of the original trip.

Platform:

  • onebusaway-gtfs-modules: 1.3.101-SNAPSHOT

Thank you for your work at these helpful modules.

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