Closed alfredbez closed 4 years ago
I added a check for special types like str
and tested this manually in our project, looks good now.
Thanks for the merge @keywan-ghadami-oxid, can you also have a look at https://github.com/OXIDprojects/oxid_shop_config/pull/1?
If you pass an assoc-array with exactly 1 value it is screwed up by that check. We ended up with strange data like this in one of our projects:
Note that the OXVARTYPE is set to the module-id in our case, but it should be
aarr
. The value in our yaml file looks like this:I tested it also with more than one module and I was able to confirm, that this will work (since the count-check is only buggy for exactly one array-item):
cc @bertrandjackermann @SvenBrunk @keywan-ghadami-oxid