PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
14 Jul 2023

Steps to reproduce the issue

Clean install of j5 alpha
Go to redirect manager, create a redirect and display filters

Expected result

all filters display

Actual result

the first filter (status) does not display

Additional comments

The field type in the xml is "redirect_status" but the actual field is "redirectstatus"

In joomla 4 this is resolved by classmap which creates an alias between the two

In Joomla 5 (on a clean install) this classmap is NOT used by default SO UNLESS the new system-backwardcompatibility plugin is enabled it does not work

a clean install of joomla 5 should not require this plugin to be enabled

avatar joomla-cms-bot joomla-cms-bot - change - 14 Jul 2023
Category Administration com_redirect
avatar brianteeman brianteeman - open - 14 Jul 2023
avatar brianteeman brianteeman - change - 14 Jul 2023
Status New Pending
avatar richard67
richard67 - comment - 16 Jul 2023

@brianteeman Hmm, but here it still is with underscore https://github.com/joomla/joomla-cms/blob/5.0-dev/libraries/src/Form/Field/RedirectStatusField.php#L29 :

    public $type = 'Redirect_Status';

Should it be changed there, too?

avatar Fedik
Fedik - comment - 22 Jul 2023

This does not work.
The xml need to be type="RedirectStatus" (CamelCase)

And would be nice to update what @richard67 found, to public $type = 'RedirectStatus';

avatar brianteeman
brianteeman - comment - 23 Jul 2023

Will update both now. FWIW the pr did work but only on a case insensitive OS

avatar joomla-cms-bot joomla-cms-bot - change - 23 Jul 2023
Category Administration com_redirect Administration com_redirect Libraries
avatar brianteeman brianteeman - change - 23 Jul 2023
Labels Added: PR-5.0-dev
avatar richard67 richard67 - test_item - 23 Jul 2023 - Tested successfully
avatar richard67
richard67 - comment - 23 Jul 2023

I have tested this item successfully on c9644d7


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

avatar HLeithner HLeithner - close - 23 Jul 2023
avatar HLeithner HLeithner - merge - 23 Jul 2023
avatar HLeithner HLeithner - change - 23 Jul 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-07-23 19:28:31
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 23 Jul 2023

thanks

avatar brianteeman
brianteeman - comment - 23 Jul 2023

thanks

Add a Comment

Login with GitHub to post a comment