Skip to content

Re‑routing adjacent sections breaks direction consistency in one‑way trainruns #893

@aiAdrian

Description

@aiAdrian

What is the input mode?

Mouse

What type of issue is it?

Functionality

What happened?

I have a trainrun which is one-way from A to C with Route A->B->C->D then i change the trainrun section C->D to E->D and then re-route it E->D to E->C the direction gets missed up

Bug_One_WAY_2_10_19.mp4

What did you expect to happen?

I expect to have a consistent direction - use same heuristic as we create a new trainrun section (add one)
A->B-C->E

How can we reproduce it (as minimally and precisely as possible)?

  1. Open netzgrafik_version_1.json
  2. Select the trainrun
  3. Re-route section C->D to E->D
  4. Re-route section E->D to E->C
  5. Direction is mixed up : BUG

On which environments the bug occurs?

Local

On which browser the bug occurs?

Firefox

Netzgrafik-Editor version (top left corner Version x.yy.zz)

2.10.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:majorThe feature is not fully compromised and requires the user to "hack" to get the full feature

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions