Skip to content

Calling "GetStops()" on a BusService object does not differentiate between Bus Operators. #3

@jfoot

Description

@jfoot

private async Task<List<string>> GetStops()

Describe the bug
If you call the "GetStops()" function it will return back all the stops that any service of the same name has, regardless of the operator.

In instances where a service has the same ID between operators it will get all of the data.

To Reproduce
Call "GetStops()" on a service that is common between Reading Buses, Newbury and District and Kennections. An example would be service 4, which is used in both RB and in Kennections and causes issues.

Expected behaviour
It should only return the bus stops for the associated service, operator dependent.

Additional context
A fix has been established and has been implemented into a private project. The changes will be propagated into this project when time allows. If this is causing significant issues to anyone please let me know and I can try to priorities it's implementation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions