Is there a configuration setting to control camelCase / underscore when accessing DataObjects?
When I try to create a Symfony form bound to a Pimcore DataObject I get the following error:
Neither the property "foo_bar" nor one of the methods "getFooBar()", "fooBar()", "isFooBar()", "hasFooBar()", "__get()" exist and have public access in class "Pimcore\Model\DataObject\MyPimcoreDataObject".
In the generated DataObject class the getter is getFoo_bar() (not getFooBar())
It used to work but it looks like the variable declarations in generated DataObjects have changed from public to protected recently and this prevents Symfony’s PropertyAccessor finding them.
Is there any way to fix this other than removing all spaces from variable names?