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
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Also confirmed here.
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.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-01-22 19:09:13 |
Closed_By | ⇒ | amitranjan2 |
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.
I get the same issue when saving articles on Joomla 4, alpha 7 with the wamp server
Issue confirmed.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23617.