Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 54 forks source link

Restriction - Workflow - Edit - returns error when adding content (form) #717

Closed NativoDigital closed 1 year ago

NativoDigital commented 1 year ago

Hi guys, In a content type form, using Seblod 4.0.3, if we put a workflow restriction for only display the field in the edition page, after saving the item it is not saved and this error is returned: Field 'field_name' doesn't have a default value. An error has ocurred

NativoDigital commented 1 year ago

Hi folks, This was happening in a free content type with a "free" db table, it has been solved by changing the default varchar values from nothing to ' ' ALTER TABLE table_name DEFAULT '';