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

Fixed EVSEType in OCPP 1.6 version #63

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Fixed EVSEType in OCPP 1.6 version #63

merged 1 commit into from
Mar 14, 2024

Conversation

pbourseau
Copy link
Contributor

Use connector ID instead of evse in 1.6 + Do not throw exception if evseId != connectorId

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@pbourseau pbourseau merged commit 05e224a into dev Mar 14, 2024
1 of 2 checks passed
@pbourseau pbourseau deleted the EVSIM/fix/evseType branch March 14, 2024 17:01
} else {
evse.id
}
evse.connectorId!!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the connector id is nullable, shouldn't we use the evse id if the connector id is null, rather than raising an exception ?
If the EVSE has "combined connectors" that could be the case IMO, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it seemed wrong doing it, I fix this right away !

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.

3 participants