-
Notifications
You must be signed in to change notification settings - Fork 6k
Object ID Identity conversion to long fails on old schema #7621
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
Comments
Thanks for the report. Can you provide a sample of that reproduces this issue? |
Well, I was just looking at the history of the In our project we have a schema where the type is Indeed, this works with the original schema, but in our case, where our schema is slightly different and the type that the mysql driver returns is a |
Hi, I would like to work on this. As far as I understand, it only has to be verified that the conversion from String to Long is executed only if the identifier is an instance of String. |
@igorpele do you still want to work on this issue? (I'm just asking because I'm looking for an issue to work, but I can find other one off course) |
@dadikovi as I got no response on this issue, you are welcome to take it. |
This change fixed a bug which tried to convert non-string object as string Fixes spring-projectsgh-7621
This change fixed a bug which tried to convert non-string object as string Fixes gh-7621
This change fixed a bug which tried to convert non-string object as string Fixes gh-7621
Summary
In case of an old ACL schema where the
object_id_identity
is of type bigint instead of the current varchar(36), the conversion of the identity to a known type fails.Actual Behavior
Conversion of ACL object ID identity fails.
Expected Behavior
Conversion of the ACL object ID identity should succeed to a known type, or long if no
class_id_type
is provided.Configuration
Version
5.2.x
The text was updated successfully, but these errors were encountered: