? PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Aug 2023

Summary of Changes

The testing sampledata are currently broken in several regards. The text itself is outdated and sometimes references Joomla 2.5 or even 1.5, the modules aren't displayed everywhere and for the frontend views, not all views are listed. This PR tries to clean all of this up. So far the following changes have been made:

1, Add all frontend views of core components
2. Add all frontend views and modules as sub-menu items of their respective component
3. Make all loadmodule occurences work again
4. Remove references to com_search in menus and modules
5. Refactor menu item creation
6. Refactor module assignments to menu items

This should now be more stable against additional changes to the sample content in the future. It still requires a lot of content updates, especially stuff like atomic and beez templates should be removed and replaced with content about Cassiopeia.

Testing Instructions

  1. Install Joomla
  2. Apply testing sampledata
  3. Bask in the glory of this newly sorted testing data. ?

Actual result BEFORE applying this Pull Request

Testing sampledata doesn't work in 5.0

Expected result AFTER applying this Pull Request

Testing sampledata works and is so much cooler than in 4.x

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 joomla-cms-bot joomla-cms-bot - change - 27 Aug 2023
Category Front End Plugins
avatar Hackwar Hackwar - open - 27 Aug 2023
avatar Hackwar Hackwar - change - 27 Aug 2023
Status New Pending
avatar brianteeman
brianteeman - comment - 27 Aug 2023

Thanks for doing this. I started a few times but bailed at the size of the task. I will test and comment etc tomorrow.

avatar chmst
chmst - comment - 28 Aug 2023

Installed and tested - no issues. When clicking through texts, I found some links to very, very outdated docs.
But this is a documentation task not in scope here.

Question: Should we remove all images and then delete the sample data images completely?

avatar brianteeman
brianteeman - comment - 28 Aug 2023
avatar brianteeman
brianteeman - comment - 28 Aug 2023
                'menutype'          => $menuTypes[3],
                'title'             => $this->getApplication()->getLanguage()->_('PLG_SAMPLEDATA_TESTING_SAMPLEDATA_MENUS_ITEM_8_1_TITLE'),
                'link'              => 'index.php?option=com_content&view=category&layout=blog&id=' . $articleCatids4[5],
                'parent_id'         => $menuIdsLevel1[8],
                'component_id'      => ComponentHelper::getComponent('com_content')->id,

articleCatids4[5] is an empty category so another choice should be made

avatar brianteeman
brianteeman - comment - 28 Aug 2023
  1. Make all loadmodule occurences work again

Still seeing quite a few non-working eg Smart Search

avatar Hackwar
Hackwar - comment - 28 Aug 2023

I did the basics yesterday. Will fix a few more issues now. I hope that this can be finished by the end of the week.

avatar Hackwar Hackwar - change - 28 Aug 2023
Labels Added: PR-5.0-dev
avatar brianteeman
brianteeman - comment - 28 Aug 2023

A deep menu

  1. set to not display on the using joomla page but i think thats the home page for that menu
  2. doesnt expand
avatar Hackwar Hackwar - change - 28 Aug 2023
The description was changed
avatar Hackwar Hackwar - edited - 28 Aug 2023
avatar Hackwar
Hackwar - comment - 28 Aug 2023

I did some additional work and would call this ready to be merged. The way it is now, the content shouldn't be entirely broken anymore and changes should be easily incorporated without having to change everything. I would thus hand this over to the documentation team to update the texts. ?

avatar ceford ceford - test_item - 1 Sep 2023 - Tested successfully
avatar ceford
ceford - comment - 1 Sep 2023

I have tested this item ✅ successfully on ace4e6e

I created a new clone of J5.0-dev, installed the patchtester and applied this patch. Then I installed the Test Sample Data. That worked fine and the site looks fine as I remember it from a previous installation. So the patch is good.


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

avatar Quy Quy - test_item - 2 Sep 2023 - Tested successfully
avatar Quy
Quy - comment - 2 Sep 2023

I have tested this item ✅ successfully on ace4e6e


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

avatar Quy Quy - change - 2 Sep 2023
Status Pending Ready to Commit
avatar Quy
Quy - comment - 2 Sep 2023

RTC


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

avatar HLeithner HLeithner - change - 2 Sep 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-02 20:25:08
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 2 Sep 2023
avatar HLeithner HLeithner - merge - 2 Sep 2023

Add a Comment

Login with GitHub to post a comment