? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
22 Dec 2022

Pull Request for Issue #39404.

Summary of Changes

This PR fixes 404 Component not found error when admin tries to restore a category from version history. See #39404 for detailed issue description.

Testing Instructions

  1. Use Joomla 4.2
  2. Go to Content -> Categories, click on a category to edit. Try to change the category data, save it so that versions history is stored for that category.
  3. On category edit screen, click on Versions button and try to restore the category to one of the saved version. You get 404 Component not found error
  4. Apply patch, confirm that the error is gone. The category is restored to the selected version.
  5. Try to restore an article from one of it's version history, confirm that it is still working OK

Actual result BEFORE applying this Pull Request

You get 404 Component not found error

Expected result AFTER applying this Pull Request

No error, category is successfully restored to the selected version.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 22 Dec 2022
Category Administration com_content com_contenthistory
avatar joomdonation joomdonation - open - 22 Dec 2022
avatar joomdonation joomdonation - change - 22 Dec 2022
Status New Pending
avatar brianteeman brianteeman - test_item - 22 Dec 2022 - Tested successfully
avatar brianteeman
brianteeman - comment - 22 Dec 2022

I have tested this item successfully on 9a2a237


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39474.

avatar viocassel viocassel - test_item - 22 Dec 2022 - Tested successfully
avatar viocassel
viocassel - comment - 22 Dec 2022

I have tested this item successfully on 9a2a237


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39474.

avatar Quy Quy - change - 22 Dec 2022
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 22 Dec 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39474.

avatar robbiejackson
robbiejackson - comment - 23 Dec 2022

I've tested this and can confirm that this fixes the bug I originally raised. Thanks!

avatar wilsonge wilsonge - close - 28 Dec 2022
avatar wilsonge wilsonge - merge - 28 Dec 2022
avatar wilsonge wilsonge - change - 28 Dec 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-12-28 16:26:47
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 28 Dec 2022

Thanks!

Add a Comment

Login with GitHub to post a comment