- Issue created by @tkiehne
- First commit to issue fork.
- Assigned to abhishek_virasat
- Status changed to Needs review
over 1 year ago 5:30am 31 October 2023 - last update
over 1 year ago 2 fail - 🇮🇳India viren18febs
HI @tkiehne
I have fixed the issue & added patch file, please review. - Issue was unassigned.
The last submitted patch, 4: only-variable-references-should-be-fixes-3397767.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- Status changed to Needs work
over 1 year ago 5:44am 31 October 2023 - Status changed to Needs review
over 1 year ago 5:46am 31 October 2023 - last update
over 1 year ago 2 fail - last update
over 1 year ago 2 fail - @abhishek_virasat opened merge request.
- 🇮🇳India abhishek_virasat
@tkiehne, i have fixed the issue, please kindly review the MR.
The last submitted patch, 7: only-variable-references-should-be-fixes-3397767.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- Status changed to Needs work
over 1 year ago 6:00am 31 October 2023 - 🇮🇳India viren18febs
above patch failed due to text not found, but i have fixed the mentioned issue.
- 🇺🇸United States tkiehne
I've tested the patch in #7, and while it does suppress the notice, it appears to cause other issues. Namely, I had it set so that admins can optionally create a password when creating a user which should allow the password to be optional on the user add form. With this patch the password field is now required and can't be left empty, so it would seem that the function does need to pass the password field to the form alter by reference, we just need it to not pass a NULL literal in the case when the form item is not found.
- First commit to issue fork.
- last update
over 1 year ago 2 pass - Status changed to Needs review
over 1 year ago 3:20am 2 November 2023 - 🇦🇺Australia elc
The return by reference is very important to that function. Simply removing it just breaks the functionality as stated by @tkiehne.
Reverted the changes and fixed the function so that it's always returning a reference.
Thank you for the bug report.
NB: Please do not use the patch on #7 - it includes some schema changes, and breaks the functionality of the module.
- last update
over 1 year ago 2 pass -
ELC →
committed 4d51705b on 2.0.x authored by
abhishek_virasat →
Resolve #3397767 "Notice only variable"
-
ELC →
committed 4d51705b on 2.0.x authored by
abhishek_virasat →
- Status changed to Fixed
over 1 year ago 3:39am 2 November 2023 - 🇦🇺Australia elc
Screwed up credit sorry. I should just merge these things manually in git.
- 🇺🇸United States greggles Denver, Colorado, USA
I filed 🌱 Genpass 2.0.2 release Active to discuss that.
Automatically closed - issue fixed for 2 weeks with no activity.