Skip to content
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

Bad types for Onix product nodes #1

Open
bcerati opened this issue Aug 26, 2021 · 0 comments
Open

Bad types for Onix product nodes #1

bcerati opened this issue Aug 26, 2021 · 0 comments

Comments

@bcerati
Copy link

bcerati commented Aug 26, 2021

Hi,

I don't quite know the Onix specs, but I have an Onix file to parse, and I'd like to use you lib that seems very useful.

I have an error :

[Thu Aug 26 17:29:11 2021] 127.0.0.1:59642 [500]: GET / - Uncaught Symfony\Component\Serializer\Exception\NotNormalizableValueException: The type of the "ImprintName" attribute for class "Ribal\Onix\Product\Imprint" must be one of "string" ("array" given). in /home/boris/Desktop/fel/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php:478

Here is the node I have in my XML file:

    <ImprintName sourcename="DILICOM" sourcetype="04">UNIV EUROPEENNE</ImprintName>

I don't know if it is the library that not manages this case or the file that I have that is not respectful of the Onix format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant