dachcom-digital / pimcore-formbuilder

Pimcore Formbuilder - create forms easily!
Other
92 stars 47 forks source link

Fix: Additional HrefTransform validation for $type and $id #434

Closed patkul0 closed 9 months ago

patkul0 commented 9 months ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no

Add validation for $type and $id parameters because they are required by the Pimcore element service which has strict_types declaration.

By default, FormBuilder sets these two parameters as null for empty languages. For example, because of that, the user was not able to load configuration that contains the Snippet type field.

solverat commented 9 months ago

Thanks, @patkul0!