?
avatar xillibit
xillibit
31 May 2015

You can always enable the plugin recaptcha in plugins list even if private/public key are missing

avatar xillibit xillibit - open - 31 May 2015
avatar mbabker
mbabker - comment - 31 May 2015

That's plugins, and extensions in general. Enabled or not, the code should be checking if it has the data it needs to work or gracefully abort (doing nothing or showing a message if appropriate).

avatar zero-24 zero-24 - change - 31 May 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 31 May 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 31 May 2015
Category Plugins
avatar xillibit
xillibit - comment - 2 Jun 2015

I'am alreay checking in my component that public key and private key are not empty before to use captcha plugin

avatar Bakual
Bakual - comment - 2 Jun 2015

I'm not sure what the issue is.
If I enable the plugin without giving the keys, I get a clear error message on the pages where it is supposed to load (eg contact form).

avatar xillibit
xillibit - comment - 2 Jun 2015

In the plugins list if you filter by captcha and you don't have entered private/public keys, you can still enable with the button like on the screenshot without editing the plugin :

sdqdsdsds

avatar Bakual
Bakual - comment - 2 Jun 2015

Yep, as said you can enable it. There is no way to prevent this the way Joomla works.
But that's no real issue. The plugin itself checks during runtime if it can show the captcha and will show an error when it can't.
Since the admin who enables the captcha hopefully also tries the new feature he is going to add, he will see the errror for sure and can take the needed actions.

Or did something break on your site after you enabled the plugin?

avatar brianteeman
brianteeman - comment - 2 Jun 2015

The same is true with many other plugins

On 2 June 2015 at 15:21, Thomas Hunziker notifications@github.com wrote:

Yep, as said you can enable it. There is no way to prevent this the way
Joomla works.
But that's no real issue. The plugin itself checks during runtime if it
can show the captcha and will show an error when it can't.
Since the admin who enables the captcha hopefully also tries the new
feature he is going to add, he will see the errror for sure and can take
the needed actions.

Or did something break on your site after you enabled the plugin?


Reply to this email directly or view it on GitHub
#7086 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman
brianteeman - comment - 18 Jun 2015

Can this be closed as "expected behaviour" ?


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

avatar Bakual
Bakual - comment - 18 Jun 2015

Closed as expected behaviour :smile:

avatar Bakual Bakual - change - 18 Jun 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-06-18 10:24:53
Closed_By Bakual
Build master staging
avatar Bakual Bakual - close - 18 Jun 2015

Add a Comment

Login with GitHub to post a comment