Problem/Motivation

When using the Guardian module in CI tests, I get the following error:

Undefined index: USER
/htdocs/modules/contrib/guardian/src/GuardianManager.php:185
/htdocs/modules/contrib/guardian/src/GuardianManager.php:145
/htdocs/modules/contrib/guardian/guardian.install:59

Steps to reproduce

Install the guardian module in a functional Drupal test.

Proposed resolution

Fix the notice.

Remaining tasks

Create patch.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork guardian-3239218

Command icon Show commands

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

bartlangelaan created an issue. See original summary.

bartlangelaan’s picture

Status: Active » Needs review

See MR.

idebr’s picture

Version: 8.x-1.x-dev » 2.x-dev

idebr’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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