User find by email is not checking duplicate emails correctly

Bug #1811290 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon

Bug Description

[WAR] 73 (auth/user.php:203) count(): Parameter must be an array or an object that implements Countable

This is because we are only selecting the first email that matches and not all

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 19.04.0
assignee: nobody → Robert Lyon (robertl-9)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/9422

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9422
Committed: https://git.mahara.org/mahara/mahara/commit/162d5481b9faed404ef44b389424fbe5011f9f2a
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 162d5481b9faed404ef44b389424fbe5011f9f2a
Author: Robert Lyon <email address hidden>
Date: Fri Jan 11 10:27:09 2019 +1300

Bug 1811290: Find user by email not checking duplicate correctly

behatnotneeded

Change-Id: Ie9052454564312a3cd462c0d5a92c6ce1fac5572
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/9733

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9733
Committed: https://git.mahara.org/mahara/mahara/commit/cef8315391ef3e39b5bde518d804412a3cbbf3ea
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 19.04_STABLE

commit cef8315391ef3e39b5bde518d804412a3cbbf3ea
Author: Robert Lyon <email address hidden>
Date: Fri Jan 11 10:27:09 2019 +1300

Bug 1811290: Find user by email not checking duplicate correctly

behatnotneeded

Change-Id: Ie9052454564312a3cd462c0d5a92c6ce1fac5572
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 162d5481b9faed404ef44b389424fbe5011f9f2a)

Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
Changed in mahara:
status: Fix Released → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.