PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar lemuelvdm
lemuelvdm
10 Sep 2025

Pull Request for Issue #46063.

Summary of Changes

Adds the missing use statements to VersionableModelTrait.php

Testing Instructions

Restore a old version of view or field in J6.

Actual result BEFORE applying this Pull Request

When trying to restore old version f the following error is returned: Class "Joomla\CMS\Versioning\ContentHistory" not found

Expected result AFTER applying this Pull Request

The prior version is restored sucessfully

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar lemuelvdm lemuelvdm - open - 10 Sep 2025
avatar lemuelvdm lemuelvdm - change - 10 Sep 2025
Status New Pending
avatar lemuelvdm lemuelvdm - change - 10 Sep 2025
The description was changed
avatar lemuelvdm lemuelvdm - edited - 10 Sep 2025
avatar joomla-cms-bot joomla-cms-bot - change - 10 Sep 2025
Category Libraries
avatar lemuelvdm lemuelvdm - change - 10 Sep 2025
The description was changed
avatar lemuelvdm lemuelvdm - edited - 10 Sep 2025
avatar tecpromotion tecpromotion - change - 10 Sep 2025
Title
Adds missing use statements to VersionableModelTrait.php. #46063
[6.0] Adds missing use statements to VersionableModelTrait.php. #46063
avatar tecpromotion tecpromotion - edited - 10 Sep 2025
avatar richard67
richard67 - comment - 10 Sep 2025

Possibly the issue is caused by PR #45515 ? In this case wait with this PR as we maintainers have decided to revert that PR, which will happen soon.

avatar brianteeman
brianteeman - comment - 10 Sep 2025

should never have been merged as I repeatedly said at the time

avatar richard67
richard67 - comment - 10 Sep 2025

See PR #46065 . It's work in progress, I will finish it tomorrow.

avatar lemuelvdm lemuelvdm - change - 11 Sep 2025
The description was changed
avatar lemuelvdm lemuelvdm - edited - 11 Sep 2025
avatar richard67 richard67 - close - 11 Sep 2025
avatar richard67
richard67 - comment - 11 Sep 2025

@lemuelvdm Thanks for your contribution. However, we have another PR #46073 which will fix the issue. Closing in favour of that PR. Sorry and thanks for your understanding.

avatar richard67 richard67 - change - 11 Sep 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-09-11 18:23:24
Closed_By richard67
Labels Added: PR-6.0-dev

Add a Comment

Login with GitHub to post a comment