Product: jDownloads
Version: 4.0.48 (latest)
Site: Joomla! 5.4.0
PHP: 8.4.14 (mysqli)
Database: MySQLi 8.4.7
Summary
When editing a jDownloads Category, the Meta Description field is cleared after saving. In contrast, Meta Keywords is saved correctly.
Steps to reproduce
Administrator → Components → jDownloads → Categories → open any category.
In Metadata Options, fill in:
Meta Description: Test metadesc
Meta Keywords: test1, test2
Click Save (or Save & Close).
Reopen the category.
Current result
Meta Description shows up empty.
Meta Keywords persists correctly.
Expected result
Both fields should persist: metadesc and metakey.
Hypothesis
In this build, the jDownloads category model/controller does not map the flat key jform[metadesc] into the data array that is finally bound to the metadesc column in #__jdownloads_categories.
Meanwhile, metakey is mapped/persisted correctly.
In core Joomla category forms (com_content), the field is usually posted as jform[metadata][metadesc] and gets stored by the core. Here, jDownloads posts jform[metadesc], and it doesn't seem to be linked during save.
Hi
I have reproduced the error. But note after opening the Category, in your instructions, as the final step, you need to select the Publishing tab to access the Meta info.
Just thought the clarification might assist others!!
Best wishes
Colin