Closed (fixed)
Project:
Mass Password Reset
Version:
8.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2017 at 18:50 UTC
Updated:
10 Mar 2017 at 20:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
edwardchiapetThis patch should resolve the errors.
uidswas being set insubmitForm()($form_state->set('uids', $uids)), so$form_state->getValue('uids')invalidateForm()will always be false, and will always throw the form error.The patch moves the logic into
validateForm()to validate the values and retrieves those values insubmitForm().Also, fixed some code formatting per PHP code sniffer.
Comment #3
edwardchiapetComment #4
edwardchiapetComment #6
shrop commentedReviewed, committed, and new alpha released! https://www.drupal.org/project/mass_pwreset/releases/8.x-1.0-alpha4
Thank you, @edwardchiapet