Updates Requested bug PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar AkameOuO
AkameOuO
11 Mar 2025

Pull Request for Issue #45079 .

Summary of Changes

It tries to check if keys are registered in HTMLHelper. But keys are not registered until the first call to HTMLHelper::(). Therefore, I call HTMLHelper::() without checking if keys are registered and use a catch block when the key is invalid.

And add two methods in Joomla\Component\Users\Administrator\Service\HTML\Users for colorScheme and allowTourAutoStart.

Testing Instructions

Reproduce the steps as described in the original issue.

Actual result BEFORE applying this Pull Request

Display raw values from database.
image

Expected result AFTER applying this Pull Request

Display sanitized texts.
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 AkameOuO AkameOuO - open - 11 Mar 2025
avatar AkameOuO AkameOuO - change - 11 Mar 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Mar 2025
Category Administration com_users Front End
avatar fgsw fgsw - test_item - 11 Mar 2025 - Tested successfully
avatar fgsw
fgsw - comment - 11 Mar 2025

I have tested this item ✅ successfully on 8287cc7

Before Pull Request

1-2

After Pull Request

2-2

Using - Use Default - show with and without PR the same result:

1-1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45107.
avatar dautrich dautrich - test_item - 11 Mar 2025 - Tested successfully
avatar dautrich
dautrich - comment - 11 Mar 2025

I have tested this item ✅ successfully on 8287cc7


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

avatar alikon alikon - change - 11 Mar 2025
Status Pending Ready to Commit
avatar alikon
alikon - comment - 11 Mar 2025

rtc


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

avatar richard67
richard67 - comment - 11 Mar 2025

Adding the "RMDQ" (release managers decision queue) label as I have some doubts if this fix is good as it is.

7187acb 12 Mar 2025 avatar AkameOuO PHPCS
avatar AkameOuO AkameOuO - change - 12 Mar 2025
Labels Added: RTC bug RMDQ PR-5.2-dev
avatar bembelimen
bembelimen - comment - 12 Mar 2025

Hello @AkameOuO
thanks for the PR. We discussed it in the Maintainer-Team and we agree, that we should add the two methods to the Users file. But we don't want to change the component tmpl files. So could you please revert that changes?
Also when checking I don't see the Atum-Parameter translated (still "10" for me)

avatar richard67 richard67 - change - 12 Mar 2025
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 12 Mar 2025

Back to pending due to requested changes. See previous comment.


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

avatar AkameOuO AkameOuO - change - 13 Mar 2025
Labels Added: Updates Requested
Removed: RTC RMDQ
avatar joomla-cms-bot joomla-cms-bot - change - 13 Mar 2025
Category Administration com_users Front End Administration com_users
avatar AkameOuO
AkameOuO - comment - 13 Mar 2025

@bembelimen

It still needs other patches for fixing the issue if reverting changes to tmpl files. I will try the method in this comment #45107 (comment).

before ec40c91:
image

after ec40c91:
image

avatar joomla-cms-bot joomla-cms-bot - change - 13 Mar 2025
Category Administration com_users Administration com_users Front End

Add a Comment

Login with GitHub to post a comment