?
avatar ron4mac
ron4mac
28 Apr 2017

Steps to reproduce the issue

  • Configure a default captcha in the site config
  • Create a menu item Articles/Create New Article
  • Access the menu item from the front end

Expected result

  • Article submission form without captcha requirement (if so configured)

Actual result

  • Article submission form with captcha and no way to prevent the captcha from being required

System information (as much as possible)

Joomla! 3.7.0 Stable [ Amani ] 25-April-2017 15:36 GMT
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Additional comments

There are a number of situations where captcha for frontend article submission may not be needed and is not desired. A mechanism should be provided, on a menu item basis, to forego the global captcha occurrence.

avatar ron4mac ron4mac - open - 28 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 28 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Apr 2017
Category com_content
avatar brianteeman brianteeman - change - 29 Apr 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-04-29 04:26:24
Closed_By brianteeman
avatar brianteeman brianteeman - close - 29 Apr 2017
avatar brianteeman brianteeman - close - 29 Apr 2017
avatar brianteeman
brianteeman - comment - 29 Apr 2017

Unfortunately that will not be possible with the way that captcha is controlled

avatar ron4mac
ron4mac - comment - 29 Apr 2017

Disappointing.... Other components are designed with captcha as an option.

avatar AlexRed
AlexRed - comment - 29 Apr 2017

I can confirm the problem


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

avatar AlexRed
AlexRed - comment - 29 Apr 2017

yes, in 3.6.5 is ok, in 3.7.0 no :(


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

avatar brianteeman
brianteeman - comment - 29 Apr 2017

the request was to have captcha enabled per menu item - or have I misunderstood something

avatar ron4mac
ron4mac - comment - 29 Apr 2017

The request was ... however it could be done ... to not force captcha on a frontend article submission just because there is a default captcha plugin set in the global config. Menu item setting was just a possible suggestion.

avatar AlexRed
AlexRed - comment - 29 Apr 2017

yes, now captcha is enabled by default in insert/edit article in frontend.
For me you need to reopen the issue

avatar brianteeman
brianteeman - comment - 29 Apr 2017

So to be clear you are saying that captcha should be able to be set on for user registration and/or contact forms and/or article submission and that right now if it is enabled it is always enabled for all of those

avatar AlexRed
AlexRed - comment - 29 Apr 2017

No.
Install a fresh 3.7.0, enable and configure the plugin "Captcha - ReCaptcha" and set it in the global configuration.
Now in frontend article edit/submission captcha requirement.

Maybe you just wanted Captcha only in contact, but if you enable it in global config now it is in frontend article edit/submission.

avatar ron4mac
ron4mac - comment - 29 Apr 2017

Registration and contact forms have the option whether to use captcha or not ... and whether or not there is a default captcha plugin set. For frontend article submission, there is no option.

avatar brianteeman
brianteeman - comment - 29 Apr 2017

@ron4mac yes there is

screenshotr14-42-02

avatar AlexRed
AlexRed - comment - 29 Apr 2017

in Joomla 3.7.0 now the parameter is:
Articles: Options --> Editing Layout --> Allow Captcha on submit

but if it is "None Selected" it is enabled

avatar AlexRed
AlexRed - comment - 29 Apr 2017

ok, if I save it again "None Selected" it is ok, no displayed.
The problems seems in the update from 3.6.5 to 3.7.0 this parameter no value in database and no by default in "None Selected"

avatar ron4mac
ron4mac - comment - 29 Apr 2017

@AlexRed Great! thanks for discovering that. Problem (mostly) solved!

avatar stellainformatica
stellainformatica - comment - 29 Apr 2017

I confirm the issue, by default the captcha should not be displayed if the parameter is set to "None Selected", even if the Content's Options has never been saved.
Moreover, who has a template different from Protostar, don't see the captcha and it's not possible to send articles from frontend, but they can't understand why...


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

avatar infograf768 infograf768 - reopen - 29 Apr 2017
avatar infograf768 infograf768 - change - 29 Apr 2017
Status Closed New
Closed_Date 2017-04-29 04:26:24
Closed_By brianteeman
avatar infograf768 infograf768 - reopen - 29 Apr 2017
avatar infograf768
infograf768 - comment - 29 Apr 2017

I confirm the issue.
It looks like the code checks only if captcha is implemented in the global configuration:
$captchaSet = $params->get('captcha', JFactory::getApplication()->get('captcha', '0'));

avatar Bakual Bakual - close - 29 Apr 2017
avatar Bakual
Bakual - comment - 29 Apr 2017

Looks like the code was copied from com_contact, but we have a different default value here and thus it doesn't work. There are two issues here:

  • The default value specified in the XML doesn't match the one set in the code ("default" is here the global setting)
  • You can't select "- Use Default -" in that option.

The only possible fix is #15687 which means it will take the global setting by default like in the other places.

Closing as there is a PR to test.

avatar Bakual Bakual - close - 29 Apr 2017
avatar Bakual Bakual - change - 29 Apr 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-04-29 18:43:25
Closed_By Bakual
avatar Bakual
Bakual - comment - 30 Apr 2017

Reopening since requested in #15687 (comment)

However I don't think there is a way to solve this.

avatar Bakual Bakual - change - 30 Apr 2017
Status Closed New
Closed_Date 2017-04-29 18:43:25
Closed_By Bakual
avatar Bakual Bakual - reopen - 30 Apr 2017
avatar Bakual Bakual - reopen - 30 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 1 May 2017
Status New Discussion
avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Jun 2017

made a PR that does not solve this issue in particular (which i also doubt there is a way to solve) but instead gives a little more information to what captcha system is being applied.
See #16573

avatar brianteeman brianteeman - change - 18 Aug 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-08-18 17:19:10
Closed_By brianteeman
avatar brianteeman brianteeman - close - 18 Aug 2017
avatar brianteeman
brianteeman - comment - 18 Aug 2017

Closed

Add a Comment

Login with GitHub to post a comment