Problem/Motivation

Any attempt to interact with the module yields:

Error: Undefined constant Drupal\samlauth_group\EventSubscriber\SamlauthGroupSubscriber::CONFIG_OBJECT_NAME in Drupal\samlauth_group\Form\SamlauthGroupMembershipMappingListForm->buildForm() (line 71 of modules/contrib/samlauth_group/src/Form/SamlauthGroupMembershipMappingListForm.php).
call_user_func_array() (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
...

Steps to reproduce

  1. Enable the module
  2. Browse to /admin/config/people/saml/group-memberships

Proposed resolution

The constant is now a member of \Drupal\samlauth_group\SamlGroupSync. Fix references to point to the correct class.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 undefined_constant-3539170-2.patch4.72 KBjoshf

Comments

joshf created an issue. See original summary.

joshf’s picture

StatusFileSize
new4.72 KB

The attached patch fixes the issue for me.

joshf’s picture

Assigned: joshf » Unassigned
Status: Active » Needs review

minoroffense’s picture

Yeah that would be an error from our refactor with the subscriber. No quite sure how it's working on our test site...

minoroffense’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.