RTC bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
2 Apr 2024

Pull Request for Issue #42919 .

Summary of Changes

The validation text for frontend validation right now is not translated.

Testing Instructions

Codereview

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 Hackwar Hackwar - open - 2 Apr 2024
avatar Hackwar Hackwar - change - 2 Apr 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2024
Category Layout
avatar dgrammatiko
dgrammatiko - comment - 2 Apr 2024

The way to set the data attributes of an element should be done through the existing API. The existing code predates the API...
In sort this should be done differently

avatar Hackwar
Hackwar - comment - 2 Apr 2024

That might be, however that would be a refactoring and a new feature, which we can only really do in a major or minor release, not in a patch release. Fixing the bug for now however would be possible for 4.4, which means people on 4.4 and 5.1 would both benefit from this now instead of having to wait for 5.2.

avatar dgrammatiko
dgrammatiko - comment - 2 Apr 2024

I'm not sure what's the new feature here. All I said is that instead changing this in the layout you should doit in the form class. The same conditional, essentially the same code, but in the right place using the existing API for the data.
Anyways, monkey patching is also fine...

avatar brianteeman brianteeman - test_item - 16 Jul 2024 - Tested successfully
avatar brianteeman
brianteeman - comment - 16 Jul 2024

I have tested this item ✅ successfully on ebd2d9f

tested by adding validationtext="JGLOBAL_TITLE" to the title field of administrator\components\com_content\forms\article.xml


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43198.
avatar Quy Quy - test_item - 16 Jul 2024 - Tested successfully
avatar Quy
Quy - comment - 16 Jul 2024

I have tested this item ✅ successfully on ebd2d9f


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

avatar Quy Quy - change - 16 Jul 2024
Status Pending Ready to Commit
Labels Added: bug PR-4.4-dev
avatar Quy
Quy - comment - 16 Jul 2024

RTC


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

avatar Quy Quy - change - 16 Jul 2024
Status Ready to Commit Pending
avatar brianteeman brianteeman - test_item - 16 Jul 2024 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 16 Jul 2024

I have tested this item ? unsuccessfully on ebd2d9f


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

avatar brianteeman
brianteeman - comment - 16 Jul 2024

changed my test result as it needs to be escaped as Fedir pointed out.


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

avatar Hackwar
Hackwar - comment - 22 Jul 2024

@Quy @brianteeman I escaped the string. Would you be able to test this again?

avatar Fedik Fedik - test_item - 22 Jul 2024 - Tested successfully
avatar Fedik
Fedik - comment - 22 Jul 2024

I have tested this item ✅ successfully on 8baa931


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

avatar fgsw fgsw - test_item - 7 Aug 2024 - Tested successfully
avatar fgsw
fgsw - comment - 7 Aug 2024

I have tested this item ✅ successfully on 8baa931


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

avatar Quy Quy - change - 7 Aug 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 7 Aug 2024

RTC


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

avatar Quy Quy - change - 7 Aug 2024
Labels Added: RTC
avatar laoneo laoneo - change - 9 Aug 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-08-09 06:32:59
Closed_By laoneo
avatar laoneo laoneo - close - 9 Aug 2024
avatar laoneo laoneo - merge - 9 Aug 2024
avatar laoneo
laoneo - comment - 9 Aug 2024

Thanks!

Add a Comment

Login with GitHub to post a comment