Skip to content

De-duplicate checkMissingTransitions methods #885

@louisgreiner

Description

@louisgreiner

NodeService.checkAndFixMissingTransitions() and TrainrunSectionService.checkMissingTransitionsAfterDeletion() methods are very close, but don't do the same thing. This code duplication made a bug very difficult to detect in this PR: b42f4e9

I suggest to de-duplicate this code and spread the use of a single method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:servicesServices, helpers, utils and i18n ("logical" stuff)code-qualityTechnical enhancements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions