Skip to content
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

[Bug]: Toggle NON-Stop in time locked combination issue #144

Open
3 tasks done
aiAdrian opened this issue Jun 6, 2024 · 0 comments
Open
3 tasks done

[Bug]: Toggle NON-Stop in time locked combination issue #144

aiAdrian opened this issue Jun 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@aiAdrian
Copy link
Collaborator

aiAdrian commented Jun 6, 2024

Preflight Checklist

Bug type

Functionality

Which version are you using

2.5.0

Operating system

all

Browser / Browser version

all

What happened?

When at a node the trainrun should not stop the user can toggle the Non-stop / stop in the transition element. There are several cases to ensure correct handling the behavior

Case 1: Non time are locked arround the node (trainrun section before and after)
image
Works fine

Case 2: The after section departure/arrival time is locked
image
DOn't work fine. If this is the case the application has to check whether the before section arrival/departure time is lock or not. If not locked the time change has to be done in the backward direction

Case 3: The before section departure/arrival time is locked
image
Don't work fine:
image

Case 4: Both side departure/arrival time are locked
image
Works fine. The time can not be changed, thus the business rule that the arrival - departure time difference has to be zero is not satisfied, thus:
image
correct.

Steps to reproduce the issue

Reproduce the above described 4 cases and test all of them.

Relevant log output

No response

@aiAdrian aiAdrian added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant