? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
1 Jul 2017

Pull Request for Issue #16887

Summary of Changes

When the field is set to hidden we don't push it as available field

Testing Instructions

Go to the Forgot your username? or Forgot your password? view with and without the recatcha plugin enabled

Expected result

Works with and without the plugin enabled.
Without the plugin enabled see:

image

Actual result

image

Documentation Changes Required

none

Additional Infos

@mbabker i have requested a review as I'm not sure if this is the correct way to do that. Should the view be resposible to hide the hidden fields or is the underlaying code responsible to do that?

avatar zero-24 zero-24 - open - 1 Jul 2017
avatar zero-24 zero-24 - change - 1 Jul 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jul 2017
Category Libraries
avatar mbabker
mbabker - comment - 1 Jul 2017

Something about this doesn't seem correct just on a glance. Hidden fields should always be available, the logic to determine if they print any markup needs to be closer to the rendering spot though, not at a high level in the main form class.

avatar zero-24
zero-24 - comment - 1 Jul 2017

Ok so we should better move the hidden check to the views?

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 1 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Jul 2017

I have tested this item successfully on 3d2e922


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

avatar zero-24 zero-24 - change - 1 Jul 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jul 2017
Category Libraries Front End com_users
avatar zero-24
zero-24 - comment - 1 Jul 2017

I have just moved the check to the view please retest.

avatar mbabker
mbabker - comment - 1 Jul 2017

Looks better now.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 1 Jul 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Jul 2017

I have tested this item successfully on 58f1be5


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

avatar Quy Quy - test_item - 1 Jul 2017 - Tested successfully
avatar Quy
Quy - comment - 1 Jul 2017

I have tested this item successfully on 58f1be5


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Jul 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Jul 2017

RTC after two successful tests.

avatar rdeutz rdeutz - change - 11 Jul 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-07-11 14:02:12
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 11 Jul 2017
avatar rdeutz rdeutz - merge - 11 Jul 2017

Add a Comment

Login with GitHub to post a comment