Create custom table class with assets (property $asset_id
is required) and try to execute parent::store(true)
.
Or just edit libraries/src/Table/Content.php
, replace at the bottom return parent::store($updateNulls);
with return parent::store(true);
to emulate the real case, next try to save an article.
Save without errors.
See error.
Joomla 3.9.22
The issue is that JTable::store()
uses $updateNulls
param for saving asset table instance as well and it will fail due to NULL alias
property which is missed in #__assets
table.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-08 14:27:11 |
Closed_By | ⇒ | Quy |
PR #30996