Skip to content

Bad types for Onix product nodes #1

@bcerati

Description

@bcerati

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions