plenta / contao-jobs-basic-bundle

Contao Job Manager
https://plenta.io/contao-erweiterungen/jobs-basic
GNU Lesser General Public License v3.0
23 stars 7 forks source link

Wrong Typs for Database Entrys #44

Closed Eaglemong closed 2 years ago

Eaglemong commented 2 years ago

Für "Bild Feld" An exception occurred while executing a query: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column contao.tl_plenta_jobs_basic_offer.addImage at row 1

Für "Gehalt Feld" Plenta\ContaoJobsBasic\Helper\NumberHelper::formatNumberFromDbForDCAField(): Argument #1 ($number) must be of type ?string, int given, called in /var/www/html/contao/vendor/plenta/contao-jobs-basic-bundle/src/Plenta/ContaoJobsBasic/EventListener/Contao/DCA/TlPlentaJobsBasicOffer.php on line 145

veronikaplenta commented 2 years ago

@christianbarkowsky https://github.com/contao/core-bundle/blob/4.13/src/Resources/contao/classes/Ajax.php#L452 Im Core wird beim AJAX-Request (beim Ausblenden der Subpalette) fest ein leerer String als false-Wert in die Datenbank eingetragen.

christianbarkowsky commented 2 years ago

Fixed @Eaglemong!

Thx for reporting the bug. Sorry fot the delay.