wintercms / wn-builder-plugin

GUI for building plugins in Winter CMS
MIT License
34 stars 12 forks source link

Error saving fields.yaml because of jsonable is null #38

Closed NecroMan closed 2 years ago

NecroMan commented 2 years ago

There is an error when saving fields.yaml from editor. The Model was generated by Builder plugin and has no $jsonable property.

2022-04-29 03_22_59-ItemArticle_fields _ Builder _ Winter CMS

This could be fixed with adding an (array) type cast like here:

2022-04-29 03_25_09-rsv-led_october – IndexModelFormOperations php

bennothommo commented 2 years ago

Duplicate of #31. This has been fixed as of https://github.com/wintercms/wn-builder-plugin/commit/6946a6eecc65d80bf58bead2f7a8aa08ba0ed922. It should be out in the next few days as a new release of the Builder plugin.