Create a new record in Joomla Categories for example. Edit it and save again. Then try to restore previous version.
The first or previous version is restored and new changes removed.
I'm getting a error Class "Joomla\CMS\Versioning\ContentHistory" not found
Here is the call stack:
I'm running the following:
Joomla! Version | 6.0.0-beta2
PHP Version | 8.3.25
Database
- Server -> mysql
- Version -> 11.4.3-MariaDB-ubu2404
- Collation -> utf8mb4_unicode_ci
- Conn Collation -> utf8mb4_uca1400_ai_ci
OS | Ubuntu 24.04
Browser | Firefox latest version
System | Joomla is running on a Docker Container
This issue might be related to #46042
Labels |
Added:
No Code Attached Yet
|
Title |
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-09-11 18:29:37 |
Closed_By | ⇒ | richard67 |
I've added:
to the use statements of the VersionableModelTrait.php
Now it does not give me the
Class "Joomla\CMS\Versioning\ContentHistory" not found
error anymore. And the version is older version is restored.