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

Avro serialization failing because of unknown property #3436

Closed
fjtirado opened this issue Mar 11, 2024 · 0 comments · Fixed by #3437
Closed

Avro serialization failing because of unknown property #3436

fjtirado opened this issue Mar 11, 2024 · 0 comments · Fixed by #3437
Assignees

Comments

@fjtirado
Copy link
Contributor

fjtirado commented Mar 11, 2024

Describe the bug

It turns out that current serializes is sensible to additional getters on generated Avro class

Expected behavior

Pojo is serialized into binary stream

Actual behavior

Jackson serialization exception

How to Reproduce?

See https://kie.zulipchat.com/#narrow/stream/232676-kogito/topic/trouble.20using.20AvroCloudEventMarshaller/near/425936424

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

@fjtirado fjtirado self-assigned this Mar 11, 2024
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this issue Mar 11, 2024
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this issue Mar 12, 2024
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this issue Mar 12, 2024
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this issue Mar 12, 2024
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this issue Mar 12, 2024
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this issue Mar 12, 2024
fjtirado added a commit that referenced this issue Mar 13, 2024
* [Fix #3436] Ignoring unknown properties

* [Fix #3436] Adding unit test
@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🎯 Done in 🦉 KIE Podling Board Mar 13, 2024
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this issue Mar 27, 2024
* [Fix apache#3436] Ignoring unknown properties

* [Fix apache#3436] Adding unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant