Description
Hi,
I have been struggling with this issue for a while, where when there is an empty value for a field like I get this error on importing:
An exception occurred while executing 'INSERT INTO btPixelCta (bID, linkType, externalLink, internalLinkCID, internalLinkFID, linkTitle, openNewPage, icon, title, subtitle, paragraph, fID, color) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [653, "2", "#", 0, 0, "See More", 0, "fas fa-hand-point-right", "", "", "", "", ""]: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'fID' at row 1
I used to replace these values in the XML manually with <fD><![CDATA[0]]></fD>
. But I noticed in some core blocks this wouldn't result in an error. Is this a bug or do I need to set something in my custom blocks to fix this?