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 issue #375 and PR #373 #376

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

andlaus
Copy link
Collaborator

@andlaus andlaus commented Dec 17, 2024

this fixes #375 and the non-snref related part of #373 .

Andreas Lauser <andreas.lauser@mercedes-benz.com>, on behalf of MBition GmbH.
Provider Information

…solved reference

When resolving the table row in `TableKeyParameter`, whether or not
the references of that object have been resolved is undefined. Since
the table is a reference in table rows, so far an exception gets
raised in `TableKeyParameter` depending on the phase of the
moon. (i.e., whether `._resolve_odxlinks()` has been called at this
point for the table row in question or not.)

This has been discovered by @mafei1982. Thanks!

Signed-off-by: Andreas Lauser <andreas.lauser@mercedes-benz.com>
Signed-off-by: Gerrit Ecke <gerrit.ecke@mercedes-benz.com>
`EncodeState.emplace_bytes()` expects the bit position to be zero or
it raises an exception. We should thus reset the bit position of
`encode_state` before calling `.emplace_bytes()` instead of after it.

this issue has been reported by @cmydd. Thanks!

Signed-off-by: Andreas Lauser <andreas.lauser@mercedes-benz.com>
Signed-off-by: Gerrit Ecke <gerrit.ecke@mercedes-benz.com>
@andlaus andlaus requested a review from kayoub5 December 17, 2024 12:46
@andlaus andlaus merged commit fa67369 into mercedes-benz:main Dec 17, 2024
7 checks passed
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.

a bug with lengthleylarameter
2 participants