? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
16 Oct 2020

Fixes #30282.

Summary of Changes

Fixes component configuration being deleted when validation fails.

Testing Instructions

Go to Users component configuration.
Set Minimum Characters to less than 8.
Change some other settings.
Try to save.

Actual result BEFORE applying this Pull Request

Configuration saved message is shown but Minimum Characters is reset to 12, other settings also reset to their default values.
If you go to #__extensions table and inspect params column of com_users record you'll notice it's empty.

Expected result AFTER applying this Pull Request

Form is not saved, Invalid field: Minimum Characters message is shown. Old, valid data in #__extensions table is still there.

Documentation Changes Required

No.

81cc8d6 16 Oct 2020 avatar SharkyKZ CS
avatar SharkyKZ SharkyKZ - open - 16 Oct 2020
avatar SharkyKZ SharkyKZ - change - 16 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2020
Category Administration com_config
avatar SharkyKZ SharkyKZ - change - 16 Oct 2020
Labels Added: ?
avatar brianteeman
brianteeman - comment - 16 Oct 2020

Would be nice if you could implement the more meaningful error messages that I tried to implement in #30906

avatar ceford ceford - test_item - 16 Oct 2020 - Tested successfully
avatar ceford
ceford - comment - 16 Oct 2020

I have tested this item successfully on f58a0df


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

avatar tushar33 tushar33 - test_item - 17 Oct 2020 - Tested successfully
avatar tushar33
tushar33 - comment - 17 Oct 2020

I have tested this item successfully on 08856df

Showing result as expected


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

avatar opn365 opn365 - test_item - 17 Oct 2020 - Tested successfully
avatar opn365
opn365 - comment - 17 Oct 2020

I have tested this item successfully on 08856df


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

avatar alikon alikon - change - 17 Oct 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 17 Oct 2020

RTC


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

avatar wilsonge wilsonge - change - 17 Oct 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-10-17 16:01:28
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 17 Oct 2020
avatar wilsonge wilsonge - merge - 17 Oct 2020
avatar wilsonge
wilsonge - comment - 17 Oct 2020

Thanks!

Add a Comment

Login with GitHub to post a comment