-
Notifications
You must be signed in to change notification settings - Fork 60
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
WIP 2.4 not working correctly with EventAdapters #75
Comments
I re-created this, seems the manifest is being lost on deserialisation, checking with the akka dev team |
I think this is a bug in the akka persistence default serialiser for PersistentRepr, i changed our code to: private def persistentToByteBuffer(persistentRepr: PersistentRepr): ByteBuffer = {
val bytes = serialization.serialize(persistentRepr).get
val back = serialization.deserialize(bytes, classOf[PersistentRepr]).get
require(persistentRepr.manifest == back.manifest)
ByteBuffer.wrap(bytes)
} And it fails. |
Thanks for the ping @chbatey! Seems weird, I'll look into it today after some Http work. |
Looks like this is fixed in master of akka, will check when we upgrade to 2.4-RC2 |
Yup, and we'll release the RC2 today to not block you guys with this bug. |
Thanks guys! |
Hi guys, the fix in Akka has been pushed – please bump to |
can be closed. |
Yay :)
|
STR:
Expected:
Actual:
""
) manifestThe text was updated successfully, but these errors were encountered: