You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I'm was unable to do this. In all my attemps we obtain the next error:
In TolerantFixtureDenormalizer.php line 68:
An error occurred while denormalizing the fixture "media-1" (AppBundle\Entity\Media): Could not denormalize the given factory.
In DenormalizerExceptionFactory.php line 28:
Could not denormalize the given factory.
I figure out that this is related with the data parsing because if I dump the parsed array from the YAML it returns this.
You can observe that the arguments are an string that is the opposite result that we expected (an array) and this cause the exception throw.
In fact if we change __factory to __construct we obtain other exception:
In SimpleObjectGenerator.php line 114:
An error occurred while generating the fixture "media-1" (AppBundle\Entity\Media): Notice: Array to string conversion
In ListValueResolver.php line 98:
Notice: Array to string conversion
I'm using the latest version of your package, and I think that this is a parser bug. I hope that this info will be enought to identify the issue.
Thanks and best regards
The text was updated successfully, but these errors were encountered:
is parsed correctly unlike the example you gave. I do not know if it's expected or not but it might be worth checking or alternatively update the documentation to make use of the quotes where appropriate.
Hi, in advance thanks for the hard work in this awesome package!
I'm trying to create objects with the factory property with this YAML
But I'm was unable to do this. In all my attemps we obtain the next error:
I figure out that this is related with the data parsing because if I dump the parsed array from the YAML it returns this.
You can observe that the arguments are an string that is the opposite result that we expected (an array) and this cause the exception throw.
In fact if we change __factory to __construct we obtain other exception:
I'm using the latest version of your package, and I think that this is a parser bug. I hope that this info will be enought to identify the issue.
Thanks and best regards
The text was updated successfully, but these errors were encountered: