Problem/Motivation

I noticed that on a fresh Drupal installation you can't access the module configuration page or any other page.

Steps to reproduce

- Fresh install
- Install module
- Go to any page

Proposed resolution

This line: $this->condition->setConfiguration($config->get('request_path')); in the BothiveConfigurationForm class and
This line: $condition->setConfiguration($this->configFactory->get('request_path')); in the BothiveConfigurationForm class

Are both passing NULL if no configuration was ever saved (e.g. on module install).

Remaining tasks

Add empty install file and maybe add an extra check for the condition logic so we don't pass NULL to the setConfiguration method.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork bothive-3201217

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

BramDriesen created an issue. See original summary.

bramdriesen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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