RTC bug PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
30 Jan 2026

Adds validation to prevent a user from setting a negative font size

Pull Request for Issue #46779 .

Summary of Changes

Adds validation to the number fields and set a minimum value of 0 (this is the only way to ensure a positive value)

Testing Instructions

Go to the template style for cassiopeia extended and try to set the font sizes to negative values

Actual result BEFORE applying this Pull Request

negative (invalid) font sizes are set

Expected result AFTER applying this Pull Request

On save an error message is displayed (NOTE: this string is untranslated at this time as its waiting a fix to be merged)

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 - 30 Jan 2026
avatar brianteeman brianteeman - change - 30 Jan 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2026
Category Front End Templates (site)
avatar ChristineWk ChristineWk - test_item - 30 Jan 2026 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 30 Jan 2026

I have tested this item ✅ successfully on 7321f25


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

avatar PranavAgarkar07 PranavAgarkar07 - test_item - 30 Jan 2026 - Tested successfully
avatar PranavAgarkar07
PranavAgarkar07 - comment - 30 Jan 2026

I have tested this item ✅ successfully on 7321f25

I have tested this fix on my local Joomla installation.

Testing Environment:

  • Joomla Version: 6.1.0-alpha1-dev (or your version)
  • PHP Version: 8.4 (or your version)
  • OS: Windows 10/11
  • Server: XAMPP

Testing Steps:

  1. Applied the patch to templates/cassiopeia_extended/templateDetails.xml
  2. Cleared Joomla cache
  3. Verified that the font size fields now have min="0" and step="0.1" attributes
  4. Attempted to enter negative values (-999) in the Body Font Size field
  5. Browser correctly prevented negative input

Result: ✅ The validation works perfectly. Negative font sizes are now blocked, preventing the layout breakage issue.

This fix should be merged.


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

avatar dautrich dautrich - test_item - 30 Jan 2026 - Tested successfully
avatar dautrich
dautrich - comment - 30 Jan 2026

I have tested this item ✅ successfully on 7321f25


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

avatar tecpromotion tecpromotion - change - 30 Jan 2026
Status Pending Ready to Commit
Labels Added: bug PR-6.0-dev
avatar tecpromotion
tecpromotion - comment - 30 Jan 2026

RTC


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

avatar ChrisHoefliger ChrisHoefliger - test_item - 30 Jan 2026 - Tested successfully
avatar ChrisHoefliger
ChrisHoefliger - comment - 30 Jan 2026

I have tested this item ✅ successfully on 7321f25


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

avatar softforge softforge - change - 31 Jan 2026
Labels Added: RTC
avatar softforge softforge - change - 31 Jan 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-01-31 12:48:17
Closed_By softforge
avatar softforge softforge - close - 31 Jan 2026
avatar softforge softforge - merge - 31 Jan 2026
avatar softforge
softforge - comment - 31 Jan 2026

Thank you @brianteeman for your work and all the testers who check it

Add a Comment

Login with GitHub to post a comment