- Open in Jenkins β Open on Drupal.org βCore: 9.5.x + Environment: PHP 8.1 & MySQL 5.7 updated depslast update
over 1 year ago run-tests.sh fatal error - π·πΊRussia ilya.no
Thanks for the patch! In addition, I had another error 'TypeError: Drupal\externalauth\Authmap::getAuthData(): Argument #1 ($uid) must be of type int, string given, called in /ldap/ldap_authentication/src/Controller/LoginValidatorLoginForm.php on line 201 in Drupal\externalauth\Authmap->getAuthData() (line 74 of /externalauth/src/Authmap.php)'
It happens, because $account->id() returns user ID as string.
I'm attaching patch with this error fixed, so password update completely works for non-ldap user.
For comment #9 I'm not sure I got the points, as I don't see error in logic, because we set $this->authName only, if we receive correct data from ldap, so it's clear to me, that we should check this before we try to use it. - last update
over 1 year ago run-tests.sh fatal error - π©πͺGermany gngn
#11 worked for me.
Attached re-roll against current dev.
- π©πͺGermany gngn
I just noticed that the second part of the patch (added by ilya.no in #11) is the same as in π Unable to change admin user password RTBC (which is RTBC).
- π©πͺGermany Tomefa Dresden
Patch is not apply with latest version 4.6.0
Attached re-roll patch for this version.
- πΊπΈUnited States bluegeek9
I think this issue can be resolved in the next release, 8.x-4.8
I would also like to add test coverage to the ldap_authentication module.
- Status changed to Postponed: needs info
8 months ago 5:50pm 8 April 2024 - πΊπΈUnited States bluegeek9
I am having trouble reproducing this bug. Are users still experiencing this issue?
I am wondering it this might have been solved with 3368890.
π Unable to change admin user password RTBC
- Merge request !98Issue #3251947 by bluegeek9, BenStallings: Unable to reset user password on non-ldap accounts β (Merged) created by bluegeek9
- Status changed to Active
7 months ago 12:56pm 15 April 2024 - πΊπΈUnited States bluegeek9
I was able to reproduce the issue. I will add tests and merge this issue.
- πΊπΈUnited States bluegeek9
MR 98 fixes this error. It will be merged after tests are added.
-
bluegeek9 β
committed 69907502 on 8.x-4.x
Issue #3251947 by beckydev: Unable to reset user password on non-ldap...
-
bluegeek9 β
committed 69907502 on 8.x-4.x
- Status changed to Fixed
7 months ago 1:40pm 19 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.