No Code Attached Yet
avatar filipbartmann
filipbartmann
5 Oct 2025

I have decimail fields in my database, and if they are empty(not filled in form) a have error: "Incorrect decimal value" instead behavior of int fields which are covered by

if (stristr($tableColumns[$k], 'int') !== false && $v === '') {
                continue;
            }

in mysql drivers.

If I add under this next code:

if (stristr($tableColumns[$k], 'decimal') !== false && $v === '') {
                continue;javascript:
            }

the behaviour works as expected and item is saved without error

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
1.00

avatar filipbartmann filipbartmann - open - 5 Oct 2025
avatar filipbartmann filipbartmann - change - 5 Oct 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Oct 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Oct 2025
avatar richard67
richard67 - comment - 5 Oct 2025

@filipbartmann As you correctly have mentioned, it is an issue with the database drivers. Could you report it in the framework repository here? https://github.com/joomla-framework/database/issues

Thanks in advance.

Add a Comment

Login with GitHub to post a comment