The content is restored and the article should be assigned to CAT2, the category showed in the Category field after the restore.
The content is correctly restored, but looking at the list of articles I can see that the article has un undefined category, like this:
Article title
Alias: article
Category: » » (Trashed)
In the #__content table, the catid field has the id of CAT1, the removed category.
Viewing the article from frontend I get a 404 error, I guess because the article is assigned to a nonexistent category.
To resolve, I have to edit the article from the backend: the category field in the form shows automatically CAT2 (the first category available). Saving the article solves the problem, reassigning it to an existing category.
PHP 8, Joomla 5.3.1
From the frontend, reproducing the above steps, cause an additional problem because after restoring, the 404 error prevents me to access the edit form.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|