extension_builder
extension_builder copied to clipboard
[BUG] 🐛 Error saving relations Typo 12.4
When i create a relation and save the extension, i get this error and the changes are not saved (no relations were saved inside the model.php e.g.)
when i remove the relation, i can save without eror.
Typo3 12.4.11 Extension_builder 12.0.0-beta.1 PHP 8.2 ############## Successfull saved but ...
... Something went wrong on server side
{"error":"PHP Warning: Undefined array key "excludeField" in [SERVERPATH] /typo3conf/ext/extension_builder/Classes/Service/ObjectSchemaBuilder.php line 165"} ###################
info: i can save the relations when i am using Extension_builder 12.0.0-alpha.5
with the branch (not Tag !!!) dev-typo3-12-reactjs this issue never seems to occur, so I suppose it's not relevant anymore.
Typo3 v12.4.14 (inside ddev docker container with "settings > debug settings: debug") Extension_builder 12.0.0-beta.2 PHP 8.2.15
########### I got the same error. Opening an existing extension (originaly build with extension builder v12 beta2) and got the error on save after not changing anything. Even if I change something the files are not updated. So it isn't "Successfull saved but ..." and a breaking for me at the moment.
Successfull saved but ...
{"error":"PHP Warning: Undefined array key \"excludeField\" in /var/www/html/vendor/friendsoftypo3/extension-builder/Classes/Service/ObjectSchemaBuilder.php line 165"}
###########
Edit: after switching to "debug settings: live" everything works because the php warnings are supressed