Problem/Motivation

Error: Undefined class constant 'TAGSTOINVALIDATE' in Drupal\msqrole\Form\MasqueradeRoleSettings->buildForm() (line 46 of /var/www/web/modules/contrib/msqrole/src/Form/MasqueradeRoleSettings.php)

Steps to reproduce

Install the module and attempt to /admin/config/people/masquerade-role

Proposed resolution

Change RoleManagerInterface::TAGSTOINVALIDATE to RoleManagerInterface::TAGS_TO_INVALIDATE

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Comments

daceej created an issue. See original summary.

daceej’s picture

Assigned: daceej » Unassigned
Status: Active » Needs review
StatusFileSize
new479 bytes

Attaching a patch that resolves the issue.

Edit: daceej was contributing at night again and attached the wrong patch file. See comment #3

daceej’s picture

Welp, I need to stop coding at night.... attaching the correct patch.

daceej’s picture

  • 6b51e20 committed on 1.0.x
    #3276568: Error: Undefined class constant 'TAGSTOINVALIDATE' in Drupal\...
randalv’s picture

Status: Needs review » Fixed

Ouch, this one hurts the find and replace skills.

I've created a new minor release with this fix, thanks for catching this one!

Status: Fixed » Closed (fixed)

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