-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Deserialize Embedded #790
Comments
It seems that it tries to load the entity rather than creating a new class. Are you sure that Promotion is not defined as entity? |
the problem happens only in those who are using doctrine 2.7.1 or higher I downgraded to 2.7.0 and returned to work |
This is caused by doctrine/orm#8006. I have commented on that PR. |
ive spent some time trying to debug this, but no results so far. can you please share the |
Yes |
I've tried to reproduce this but again with no luck. Which version of the serializer library are you using? Can you please send a pull request with a failing test case? https://github.com/schmittjoh/serializer/blob/master/tests/Serializer/Doctrine/ObjectConstructorTest.php is place where you can add your test case |
"jms/serializer": "^1.14.1"
"doctrine/orm": "2.7.0"
this version of the doctrine works, any version above this error
Em sáb., 18 de abr. de 2020 às 01:50, Asmir Mustafic <
notifications@github.com> escreveu:
… I've tried to reproduce this but again with no luck. Which version of the
serializer library are you using?
Can you please send a pull request with a failing test case?
https://github.com/schmittjoh/serializer/blob/master/tests/Serializer/Doctrine/ObjectConstructorTest.php
is place where you can add your test case
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#790 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUPOJ3LHVTPPNFI7ERXFYLRNEWR3ANCNFSM4LPZCUFQ>
.
|
Now I understand. |
I have an Embedded class, but when deserializing it, I try to select the class
An exception occurred while executing
SELECT ... FROM Promotion t0
Table database.Promotion doesn't existhowever it is an Embedded class
The text was updated successfully, but these errors were encountered: