RTC PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
5 Mar 2024

Summary of Changes

In PR #42911 we discovered that a missing required field creates an error message in the frontend validation. The validation in the backend however creates a warning message instead. This PR unifies that to both create error messages.

Testing Instructions

  1. Create/edit an article and in the browser console edit the category field
  2. remove the required class from the select-element and change the value of the selected category to an empty string.
  3. Click on save.

Actual result BEFORE applying this Pull Request

You get a warning message that category is required.

Expected result AFTER applying this Pull Request

You get an error message that category is required.

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 - 5 Mar 2024
avatar Hackwar Hackwar - change - 5 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Mar 2024
Category Libraries
avatar Hackwar Hackwar - change - 5 Mar 2024
The description was changed
avatar Hackwar Hackwar - edited - 5 Mar 2024
avatar Hackwar Hackwar - change - 5 Mar 2024
Labels Added: PR-5.1-dev
avatar joomla-cms-bot joomla-cms-bot - change - 5 Mar 2024
Category Libraries Administration com_config com_finder com_languages com_menus com_messages com_templates Front End com_users Libraries
avatar ceford ceford - test_item - 11 Mar 2024 - Tested successfully
avatar ceford
ceford - comment - 11 Mar 2024

I have tested this item ✅ successfully on 2418b68

On the test procedure: I just clicked the x to remove the default category. Only tested in Administrator - is that right?


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

avatar viocassel viocassel - test_item - 11 Mar 2024 - Tested successfully
avatar viocassel
viocassel - comment - 11 Mar 2024

I have tested this item ✅ successfully on 2418b68


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

avatar Quy Quy - change - 11 Mar 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 11 Mar 2024

RTC


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

avatar bembelimen bembelimen - change - 14 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-14 12:51:10
Closed_By bembelimen
Labels Added: RTC
avatar bembelimen bembelimen - close - 14 Mar 2024
avatar bembelimen bembelimen - merge - 14 Mar 2024
avatar bembelimen
bembelimen - comment - 14 Mar 2024

Thx

Add a Comment

Login with GitHub to post a comment