Problem/Motivation

If module is added as a dependency to installation profile, install will fail with an error:

The "field_item:text_long" plugin does not exist.
During installation, module tries to create base field with field_item:text_long type, but at the time of installation that plugin might not be installed yet.

Proposed resolution

Add a dependency to drupal:text in sitewide_alert.info.yml

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

botanic_spark created an issue. See original summary.

Sahana _N’s picture

Status: Active » Needs review
FileSize
365 bytes

Please review the patch.

botanic_spark’s picture

+++ b/sitewide_alert.info.yml
@@ -4,3 +4,5 @@ description: 'Provides ability to display an alert message at the top of all pag
+  drupal:text

The indentation is not good.
Should be like this:

dependencies:
  - drupal:text
botanic_spark’s picture

Status: Needs review » Needs work
Sahana _N’s picture

Status: Needs work » Needs review
FileSize
365 bytes

Please review the patch.

the.tai.pen@gmail.com’s picture

FileSize
357 bytes

Could not apply patch posted above. Adding patch that applies

botanic_spark’s picture

Looks good to me.

botanic_spark’s picture

Status: Needs review » Reviewed & tested by the community

ChrisSnyder’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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