Unit/System Tests PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
21 Jan 2024

Summary of Changes

With #36748

"This PR checks if a translation for the language key exists and if there is none (and debug is not enabled) it will instead display the taxonomy title instead."

It is confusing that this doesnt work if debug is enabled. There is nothing else in Joomla where this is the case and I just wasted a lot of time trying to see why the string wasnt displayed.

I believe that the intention of the code was to display the language key when "debug language" was enabled not when "debug" was enabled

If you want to create your own value for the key as an override you would expect the key to be displayed in debug language mode (which it is not) and you would not expect the key to be displayed in debug mode

Testing Instructions

Perform a search on the front with Debug enabled and a new search with debug language enabled

Actual result BEFORE applying this Pull Request

Debug

image

Debug Language

image

Expected result AFTER applying this Pull Request

Debug

image

Debug Language

image

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 brianteeman brianteeman - open - 21 Jan 2024
avatar brianteeman brianteeman - change - 21 Jan 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jan 2024
Category Administration com_finder
avatar richard67
richard67 - comment - 21 Jan 2024

Shouldn't that be fixed in 4.4-dev, as it is a bug fix and the bug also applies there?

avatar brianteeman brianteeman - change - 21 Jan 2024
Labels Added: PR-5.0-dev
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jan 2024
Category Administration com_finder Repository Administration com_installer Front End com_users Libraries Plugins JavaScript Unit Tests
avatar brianteeman brianteeman - change - 21 Jan 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-01-21 12:34:12
Closed_By brianteeman
Labels Added: Unit/System Tests
avatar brianteeman brianteeman - close - 21 Jan 2024
avatar richard67
richard67 - comment - 21 Jan 2024

@brianteeman I think it would help to change the base branch on GitHub by using the "edit" button right beside the title.

avatar brianteeman
brianteeman - comment - 21 Jan 2024

yeah - didnt work - creating a new pr instead

avatar richard67
richard67 - comment - 21 Jan 2024

yeah - didnt work - creating a new pr instead

@brianteeman Ok, thanks.

Add a Comment

Login with GitHub to post a comment