PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Galcedion
Galcedion
9 Mar 2025

Pull Request for Issue #45079.

Summary of Changes

Updated the display of the frontend User Profile to show the text of the selected option rather than the database value.

Testing Instructions

These are purely visual changes.

  1. Create a frontend menu item User Profile.
  2. View the menu item as a registered user in the browser.

Actual result BEFORE applying this Pull Request

e.g. display for allowing auto starting tours Allow Auto Starting Tours 0

Expected result AFTER applying this Pull Request

e.g. display for allowing auto starting tours Allow Auto Starting Tours No

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 Galcedion Galcedion - open - 9 Mar 2025
avatar Galcedion Galcedion - change - 9 Mar 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Mar 2025
Category Front End com_users
avatar Galcedion Galcedion - change - 9 Mar 2025
Labels Added: PR-5.2-dev
avatar dautrich
dautrich - comment - 10 Mar 2025

When testing this PR, I found some inconsistencies.
I tested on a J5.2.4 with two languages installed (en-GB and de-DE).
I'll describe my findings in a number of posts.

avatar dautrich
dautrich - comment - 10 Mar 2025

Testcase 1: All values on standard settings

grafik

Test okay!

avatar dautrich
dautrich - comment - 10 Mar 2025

Test Case 2: Administrator Template Style set to "Atum - Default"
grafik

Test NOT okay!

avatar brianteeman brianteeman - test_item - 10 Mar 2025 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 10 Mar 2025

I have tested this item 🔴 unsuccessfully on 62c221c


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

avatar brianteeman
brianteeman - comment - 10 Mar 2025

Almost but not quite

image

image

avatar fgsw
fgsw - comment - 10 Mar 2025

@Galcedion Is it ok that the Backend Template Styleis shown with the pull request as number?

2fe copy

avatar dautrich
dautrich - comment - 10 Mar 2025

Test Case 3: Dark Mode
All three options tested:

grafik

grafik

grafik

Test okay!

avatar dautrich
dautrich - comment - 10 Mar 2025

Test Case 4: Automatic Start of Guided Tours (all options)
Test okay

avatar dautrich
dautrich - comment - 10 Mar 2025

Test Case 5: Backend Language (all options)
Test okay

avatar dautrich
dautrich - comment - 10 Mar 2025

Test Case 6: Frontend Language (all options)
Test okay

avatar dautrich
dautrich - comment - 10 Mar 2025

Test Case 7: Editor (all options)
Test okay

avatar dautrich dautrich - test_item - 10 Mar 2025 - Tested unsuccessfully
avatar dautrich
dautrich - comment - 10 Mar 2025

I have tested this item 🔴 unsuccessfully on 62c221c

Back end template displays ID instead of name.


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

avatar Galcedion
Galcedion - comment - 10 Mar 2025

Thanks everyone for pointing that out.
After checking, it appears that Backend Template Style has no $field->options, so right now I can't get the proper text for the display. I'm looking for a way to get the text. Dismantling $field->input is an option, but that's rather hacky.

avatar chmst chmst - change - 11 Mar 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-03-11 09:25:24
Closed_By chmst
avatar chmst chmst - close - 11 Mar 2025
avatar chmst
chmst - comment - 11 Mar 2025

Unfortunately this PR does not solve the problem. I close this in favour of #45107.
Thank you for your work!

Add a Comment

Login with GitHub to post a comment