simplethings / SimpleThingsFormSerializerBundle

[DEPRECATED]
81 stars 18 forks source link

Illegal offset type in isset or empty , SimpleThings/FormSerializerBundle/Serializer/JMSSerializerConverter.php line 76 #32

Open mailaneel opened 11 years ago

mailaneel commented 11 years ago

Data passed in getType($type, $recursive = false) $type is passed as array

Array
(
    [name] => string
    [params] => Array
        (
        )

)

Checking

isset($this->typeMap[$type]

Should be?

isset($this->typeMap[$type['name']]

stof commented 11 years ago

This is because this bundle is not updated yet for JMSSerializerBundle 1.0.x-dev. It currently works with the 0.9 release

See #30 for the update