pixelant / pxa_product_manager

Product Manager. Allow to create and list products on a site. Create dynamical attributes for products. Filter by categories and attributes
11 stars 14 forks source link

Restore category creation with MySQL strict mode #187

Closed mbrodala closed 4 years ago

mbrodala commented 4 years ago

We must provide a numeric default value for all columns which are stored as integer, otherwise the DataHandler falls back to an empty string which is rejected by MySQL in strict mode.

pixelmatseriks commented 4 years ago

Thank you for your contribution.

Noticed that a similar fix already was merged to master from another PR (#195), so (finally) closing this PR now, this fix is included in release v9.14.2.