Skip to content

Power Restriction : Last row of the new table for PR doesn't work properly #16638

@Tguisnet

Description

@Tguisnet

What happened?

It seems to me that this line is not included in the incompatible power restrictions. (That's the case in my example, but I'm not sure if it's the case everywhere)
And on top of that, if I add a power restriction to the last line (which doesn't necessarily make sense, but why not?), it gets removed as soon as I add a power restriction before it

What did you expect to happen?

the same behavior as on the other lines

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

  1. Go to a scenario (on an Infra France)
  2. Create a PLY - MSC train
  3. Put valide restriction on Paris gare de lyon
  4. Put a valide restriction on the last row of the table
  5. Put a valid restriction on Poste 61 Yerres

On which environments the bug occurs?

Recette (SNCF)

On which browser the bug occurs?

Google Chrome

OSRD version (top right corner Account button > Informations)

1a4e700

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions