Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292436

Small bug in contact module configuration schema

$
0
0

Problem

The configuration settings for contact module look like this:

default_category: feedback
flood:
  limit: '5'
  interval: '3600'
user_default_enabled: '1'

The schema introduced however lists "user_default_enabled" at the wrong indentation level and therefore not on one level with "flood" and "default_category":

# Module settings
contact.settings:
  type: mapping
  mapping:
    "default_category":
      type: string
    "flood":
      type: mapping
      mapping:
        "limit":
          type: integer
        "interval":
          type: integer
      "user_default_enabled":
        type: boolean

The fix is easy, the indentation needs to be fixed for user_default_enabled.

Found with the D8 configuration inspector sandbox module at http://drupal.org/sandbox/reyero/1635230

AttachmentSizeStatusTest resultOperations
contact-schema-fix.patch456 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 51,310 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 292436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>