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

Fix potential state machine issue #865

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

Pietfried
Copy link
Contributor

@Pietfried Pietfried commented Nov 12, 2024

Describe your changes

This PR adds a change that uses the transaction BecomeAvailable instead of I1_ReturnToAvailable inside on_session_stopped also when this->status->get_state(connector) == ChargePointStatus::Faulted since the internal state of the state machine could be other then Faulted, which would lead to an unspecified transition not moving back to Available.

Issue ticket number and link

Checklist before requesting a review

…this->status->get_state(connector) == ChargePointStatus::Faulted since the internal state of the state machine could be other then Faulted, which would lead to an unspecified transaction not moving back to Available

Signed-off-by: Piet Gömpel <[email protected]>
@Pietfried Pietfried force-pushed the bugfix/return-to-available-after-error branch from 360025f to f460dce Compare November 12, 2024 13:34
@Pietfried Pietfried merged commit d042629 into main Nov 14, 2024
4 checks passed
Pietfried added a commit that referenced this pull request Nov 14, 2024
…this->status->get_state(connector) == ChargePointStatus::Faulted since the internal state of the state machine could be other then Faulted, which would lead to an unspecified transaction not moving back to Available (#865)

Signed-off-by: Piet Gömpel <[email protected]>
Pietfried added a commit that referenced this pull request Nov 14, 2024
…this->status->get_state(connector) == ChargePointStatus::Faulted since the internal state of the state machine could be other then Faulted, which would lead to an unspecified transaction not moving back to Available (#865)

Signed-off-by: Piet Gömpel <[email protected]>
Pietfried added a commit that referenced this pull request Nov 25, 2024
…this->status->get_state(connector) == ChargePointStatus::Faulted since the internal state of the state machine could be other then Faulted, which would lead to an unspecified transaction not moving back to Available (#865)

Signed-off-by: Piet Gömpel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants