Closed (fixed)
Project:
Group
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2022 at 22:51 UTC
Updated:
30 Nov 2022 at 14:44 UTC
Jump to comment: Most recent
Currently doPreSave method is overridden to run validation, but we don't call parent doPreSave. As result preSave method never called
Add parent::doPreSave
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lobsterr commentedComment #4
lobsterr commentedComment #5
kristiaanvandeneyndeShould be a return statement too, thanks for catching this! Will commit later today.
Comment #6
lobsterr commentedI have added a return statement
Comment #8
kristiaanvandeneyndeAlready did so on my local :) Commit credit still given to you.
Comment #10
kristiaanvandeneyndePushed the wrong code, my bad. Trying to juggle a million issues atm.
Comment #12
ekes commentedJust going to flag here in case anyone has any ideas. Since this commit installation of a module with the configuration for a group type and its roles to throws an error. When some of the group.role.id configuration is being imported:
The NULL is the result of $this->getGroupType(). The configuration does include dependencies on the group.type.id config as well as the user.role.id configuration so one would hope that it's been saved already, but maybe caches? I'm going to investigate.
Also worth noting I don't think the previously imported group.role.id configuration was actually working correctly before. Why I moved to HEAD to see if this would fix it ;-)
Comment #13
ekes commentedSpoke too soon. Seems it's being triggered by something in our code :-(
I'll post a new issue if it's something someone else is likely to have done too.