Skip to content

Conversation

@lemuelvdm
Copy link

@lemuelvdm lemuelvdm commented Sep 10, 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

@tecpromotion tecpromotion changed the title Adds missing use statements to VersionableModelTrait.php. #46063 [6.0] Adds missing use statements to VersionableModelTrait.php. #46063 Sep 10, 2025
@tecpromotion tecpromotion requested a review from rdeutz September 10, 2025 16:30
@richard67
Copy link
Member

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.

@brianteeman
Copy link
Contributor

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

@richard67
Copy link
Member

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

@richard67
Copy link
Member

@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.

@richard67 richard67 closed this Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants