DrupalOrg plugin warnings when viewing Compose tips page

Created on 14 December 2024, about 1 month ago

Problem/Motivation

When viewing the Compose tips page, the settings may not be available when the DrupalOrg plugin is enabled.

This does not occur for the External links plugin, which the Drupalorg plugin class extends.

Warning: Undefined array key "settings" in Drupal\freelinking\Plugin\freelinking\DrupalOrg->getIndicator() (line 32 of modules/contrib/freelinking/src/Plugin/freelinking/DrupalOrg.php).

Drupal\freelinking\Plugin\freelinking\DrupalOrg->getIndicator() (Line: 181)
Drupal\freelinking\Plugin\Filter\Freelinking->tips() (Line: 274)

Steps to reproduce

  1. Install freelinking
  2. Create a text format with Freelinking DrupalOrg plugin configured
  3. Create a node type with a formatted text field configured to use the text format
  4. Visit /filter/tips

Proposed resolution

Fix the issue and write a functional test to assert tips output.

Remaining tasks

- Determine root cause of plugin created without settings. This is blocked on ✨ Add support for attributes Active .

πŸ› Bug report
Status

Postponed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mradcliffe USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024