Closed gplanchat closed 7 years ago
An InvalidArgumentException is thrown by the BAP when importing manyToMany enum is thrown with the message $enumCode must not be empty..
InvalidArgumentException
manyToMany
$enumCode must not be empty.
It is sent here : https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/EntityExtendBundle/Tools/ExtendHelper.php#L272
At this point https://github.com/synolia/oroneo/blob/master/ImportExport/Serializer/OptionSerializer.php#L45
Here is the config I have in $config variable :
$config
object(Oro\Bundle\EntityConfigBundle\Config\Config) { 'id': object(Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId) { 'scope': 'enum' 'className': 'Oro\\Bundle\\ProductBundle\\Entity\\Product' 'fieldName': 'foo_field' 'fieldType': 'manyToMany' } 'values': [] }
We are working on this. The fix will be released next week if everything is OK for us.
This should be resolved with our last commit; feel free to try and to open another one if you encounter any other issue.
An
InvalidArgumentException
is thrown by the BAP when importingmanyToMany
enum is thrown with the message$enumCode must not be empty.
.It is sent here : https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/EntityExtendBundle/Tools/ExtendHelper.php#L272
At this point https://github.com/synolia/oroneo/blob/master/ImportExport/Serializer/OptionSerializer.php#L45
Here is the config I have in
$config
variable :