-
Notifications
You must be signed in to change notification settings - Fork 123
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
Unable to save changes to array fields #11
Comments
Facing the same issue at the moment, in my case, I'm trying to save multiple roles to a user, which are an array, and I'm running in to the same issue. Reverting back to the 1.0.6 release seems to have fixed the issue at the moment. From going through the commits for that release, looks like this change is the culprit |
@codedmonkey @dajoykill sorry for this late reply, you're right, I confirm the issues you're running into. |
@codedmonkey and @dajoykill: I pushed a fix on the master branch, can you confirm it fixes the issue for you? |
Yes seems to work great! Many thanks. |
@DamienHarper I also confirm, the fix works. I suppose you'll push this in to a new release eventually? |
@dajoykill sure, I'll do it shortly |
1.0.8 is released fixing these issues. |
Hi, thanks for the great bundle. It seems that after a recent change we can't save changes to arrays and JSON array fields as it throws the following error:
I looked at the
convertToPHPValue
method and it doesn't seem to be particular useful in this case, as it seems to expect the given value to come directly from the database, not from the entity, hopefully that helps.Thanks!
The text was updated successfully, but these errors were encountered: