-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unrecognized op and preserve invalid state #10472
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #10472 +/- ##
==========================================
- Coverage 81.93% 81.93% -0.01%
==========================================
Files 1078 1078
Lines 107555 107555
Branches 733 733
==========================================
- Hits 88125 88122 -3
- Misses 19391 19394 +3
Partials 39 39
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I tried to reproduce the bug, by importing the trainSchedule. When i modify this train, i can see in itinerary that the unrecognized waypoint is marked in red (correct behavior). When I modify this train, and go back to its itinerary tab, I only see an "undefined" with no red and no error message. |
2aa2f09
to
2b527ee
Compare
…ined pathsteps Signed-off-by: Achraf Mohyeddine <[email protected]>
2b527ee
to
17e44ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, it works, thanks for the fix 👍
Hum actually, this issue is more complex. It comes from the fact that the pathfinding is launched in setupItinerary, which does not handle the invalid items. The best way to solve this bug would be to refacto the code so the pathfinding is launched only once when editing a train |
@clarani do you manage to reporduce the bug ? |
The original bug must have been solved by #10696, it can't be reproduced now |
Closes #10396