Closed (fixed)
Project:
Force Password Change
Version:
2.0.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2019 at 08:20 UTC
Updated:
22 Dec 2021 at 10:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Deeksha B commentedComment #3
edycarreyes99 commentedpatch not apply, fixing that.
Comment #4
drupal.ninja03 commented.
Comment #5
drupal.ninja03 commentedComment #6
drupal.ninja03 commentedPatch from #3 didn't work for me:
Comment #7
drupal.ninja03 commentedComment #8
drupal.ninja03 commentedCreated a fresh patch as the previous ones failed probably due to indentation errors.
Comment #9
heddnThat's a lot of whitespace changes. Let's re-upload #2, which is working on a live D9 site.
Comment #10
drupal.ninja03 commentedHi @heddn, did you test the patch I uploaded? Did it not work for you?
The whitespace changes were automatically fixed by the code sniffer CLI tool.
Comment #11
heddn@drupal.ninja03, this issue is that there are too many whitespace changes and it would be nearly impossible to know what changed. Much better to do whitespace cleanup in another issue. And keep the fixes limited to only D9 support here. Which is why I went back to #2.
Comment #12
mvogel commentedI couldn't apply the patch.
I wrote an info yml file patch to delete the information added by the Drupal.org packaging script. So if you want to apply the D9 patch you need to run the info-file.patch first. I don't know where this packaging script came from and how to patch it properly.
For the D9 Patch, I had to change some line numbers and array syntax to apply correctly. (see interdif)
Comment #13
mistrae commentedWrong patch
Comment #14
mistrae commentedChanging
$this->messenger->addMessage(to\Drupal::messenger()->addMessage(as it errors the following :Call to a member function addMessage() on nullComment #15
guilhermevp commentedPatch works as intended in the scope of the proposed issue. But there is more deprecated code to be addressed.
Updated the issue title to reflect the scope.
Comment #16
guilhermevp commentedComment #17
larisse commentedNeeds reroll for 2.0.x branch
Comment #18
laisbonafe commentedComment #19
laisbonafe commentedHi, I did a re-roll of the patch #14.
Comment #20
larisse commentedThe patch #19 could not be applied.
I will try to work on this.
Comment #21
larisse commentedOpss, this is the error that I get when I try to apply the patch #19
Comment #22
larisse commentedA reroll for 2.0.x branch.
Comment #24
larisse commentedThank you all.
Comment #26
orb commentedeverything is good