Navigate to the following page from the admin page
content >> Articles >> New
add some contents and try to save
A new article should be saved
it throws an error
Save failed with the following error: Incorrect integer value: '' for column 'hits' at row 1
Issue confirmed.
Also confirmed here.
@alikon ?
I solved this here by adding
$data['hits'] = 0;
line 922 of /administrator/components/com_content/Model/ArticleModel.php
but I think this is just a hack as default hits is set as 0 is db.
hmmm... see #23638...
I get the same issue when saving articles on Joomla 4, alpha 7 with the trial account with cloud access. Receive "Error
Save failed with the following error: Incorrect integer value: '' for column 'hits' at row 1".
I get the same message when adding to the contacts component as well.
Joomla4, alpha7 does not contain https://github.com/joomla/joomla-cms/pull/23638
Confirmed for Contact. Will make patch for that one.
For contact, please test https://github.com/joomla/joomla-cms/pull/23688
I get the same issue when saving articles on Joomla 4, alpha 7 with the wamp server
Most helpful comment
Issue confirmed.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23617.