Skip to content

Revert #19977: Plugins field behavior#20293

Merged
HLeithner merged 5 commits intojoomla:stagingfrom
SharkyKZ:Plugins_field_1
May 14, 2019
Merged

Revert #19977: Plugins field behavior#20293
HLeithner merged 5 commits intojoomla:stagingfrom
SharkyKZ:Plugins_field_1

Conversation

@SharkyKZ
Copy link
Copy Markdown
Contributor

@SharkyKZ SharkyKZ commented May 4, 2018

Pull Request for Issue # .

Summary of Changes

PR #19977 wasn't tested properly. As a result, it introduced unwanted behavior when saving form. The change prevents default value from being saved when it is set as a custom option in XML form.

Additionally, it adds check for a hardcoded language constant. This is not correct because the constant is added through custom option in XML form and could be anything.

Testing Instructions

Enable a Captcha plugin (e.g. reCaptcha).
Select the plugin as default Captcha plugin in Global Configuration and save.
Disable the plugin.
Go to Global Configuration and save again.
a) Open username reminder or password reset page
b) Check Captcha setting value (either in configuration.php or through JFactory::getApplication()->get('captcha')).

Expected result

a) No traces of captcha.
b) 0

Actual result

a) Captcha label shown in form, indicating that Captcha plugin is set in configuration.
b) recaptcha

Documentation Changes Required

No.

@zero-24
Copy link
Copy Markdown
Contributor

zero-24 commented May 4, 2018

Cc @tonypartridge so the original author is aware ;-)

@Quy
Copy link
Copy Markdown
Contributor

Quy commented May 4, 2018

I have tested this item ✅ successfully on 929f46f


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

@ghost ghost added the J3 Issue label Apr 5, 2019
@ghost ghost removed the J3 Issue label Apr 19, 2019
@alikon
Copy link
Copy Markdown
Contributor

alikon commented May 10, 2019

don' t hate me but yet another one for you @HLeithner

@alikon
Copy link
Copy Markdown
Contributor

alikon commented May 11, 2019

I have tested this item ✅ successfully on bb57a75


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

@alikon
Copy link
Copy Markdown
Contributor

alikon commented May 11, 2019

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label May 11, 2019
@ghost ghost removed the J3 Issue label May 11, 2019
@HLeithner HLeithner merged commit 3faf9a7 into joomla:staging May 14, 2019
@HLeithner
Copy link
Copy Markdown
Member

thx

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label May 14, 2019
@HLeithner HLeithner added this to the Joomla 3.9.7 milestone May 14, 2019
tecpromotion pushed a commit to tecpromotion/joomla-cms that referenced this pull request May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants