Empty form fields converted to empty string instead of type declared for property
After submitting an empty form field of an integer property i get the following error:
#1244465559: Expected property of type integer, but got string
F3\FLOW3\Persistence\Exception\UnexpectedTypeException thrown in file
Packages/Framework/FLOW3/Classes/Persistence/Backend/AbstractBackend.php in line 278.
After changing the property type to string it validates the Object.
Flow3/PHP is converting empty form fields to empty strings "". It would be better if they are treated as NULL. (Validation actually checks for NULL)