Undefined constant error

Created on 31 July 2025, 14 days ago

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.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joshf

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024