-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
Unserialize error with OrderedTimeCodec #494
Labels
Comments
Hello, |
The fix for this is released in version 4.7.4. Thank you for your patience. Thank you, @Ph0tonic, for the patch! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
in my Symfony app I upgraded
ramsey/uuid
fromv3.9.6
tov4.7.1
andramsey/uuid-doctrine
fromv1.8.1
tov2.0.0
.After that upgrade app has started throwing error on UUID unserialize (when Symfony tries to unserialize session data).
Error:
How to reproduce:
I have noticed that issue is somewhat related to
OrderedTimeCodec
specifically to rearrange of bytes for optimal storage.If I add this code to Uuid::serialize() then unserialize works OK.
This rearranges bytes before serialization and on unserialize
OrderedTimeCodec
will rearrange bytes to original order.note: I provided this info here #259 (comment) but seems that this is a separate issue.
The text was updated successfully, but these errors were encountered: