Een hart voor de Drupal Community

Bij make it fly geloven we sterk in Drupal en Open Source software in het algemeen. We maken dagelijks gebruik van vele open source componenten en de vele Drupal modules die beschikbaar zijn. We dragen actief ons steentje bij aan de community door zelf patches, modules en documentatie te voorzien, daarnaast zijn enkele teamleden ook actief in de Drupal User Group vzw.

Een overzicht van onze bijdragen aan de Drupal community vind je terug op onze Drupal.org pagina. Naast het actief meerwerken aan de Drupal community, zetten we ook andere ontwikkelaars op weg door vragen te beantwoorden op Drupal Answers.

  1. JS code is executed multiple times.

    Fons

    Problem/Motivation

    When using this module I noticed there are console.log notices:

    I think the code in highlight-custom.js can be altered to fix this when once is introduced in this logic.

  2. Issue with Copy Button Background Color in the settings form

    Fons

    Problem/Motivation

    The default value of the Copy Button Background Color field is not set properly in the configuration form (it looks at copy bg transparent) which gives weird behavior / makes it impossible to set your own value.

  3. Masquerade by URL doesn't work

    Randal

    Hi julianriemersma,

    Thanks for reporting the issue! I've finally gotten around to provide a fix, I had to fix it a bit differently because removing 'authenticated' from disallowed roles was creating some other issues.

    I added a new release.

  4. Layout Builder translation issues

    Sven Decabooter

    Problem/Motivation

    Creating translations for a Component page do not seem to work: - Blocks from the original translations are not copied over - There are some issues with stale data

    Proposed resolution

    - Configure Layout field of Component page form display correctly - Update to latest layout_builder_at release, which fixes the other issues

  5. Update to config split 2.x for patching capability

    Sven Decabooter

    Problem/Motivation

    Currently the project depends on config_split 1.x, with a "develop" split configured. The Belgian (and other) websites are using config split in order to split of language-specific configuration (e.g. enable FR language for the .be website, which should not happen in the general project).

    I propose to update the config_split module to its version 2.x as soon as possible, because that introduces the concept of patching. Rather than splitting a whole config YML file, config_split only puts the changes in the split directory.

    Steps to reproduce

    The default language.negotiation.yml looks like this:

    session:
      parameter: language
    url:
      source: path_prefix
      prefixes:
        en: en
        '': null
      domains:
        en: ''
    selected_langcode: site_default
    

    When using config_split 1.x, we split the whole file. If later the "session" or "selected_langcode" property would change in the default config, it will not propagate to the split off configurations.

    Proposed resolution

    Use config_split 2.x, so the above configuration would be stored in config/drupal_be split folder as follows:

    adding:
      url:
        prefixes:
          nl: nl
          fr: fr
          de: de
        domains:
          nl: ''
          fr: ''
          de: ''
    removing:
      url:
        prefixes:
          '': null
    

    This alters only the prefixes content, nothing else.

    If we decide to let all spin-off sites use config_split, it will be a lot more maintainable this way.

    Remaining tasks

    - Create MR to update to config_split 2.x + update existing splits

  6. Error on 404 pages

    Sven Decabooter

    Problem/Motivation

    When setting up the token with `without-some-parameters` or `with-some-parameters` options, we are getting an error on non-existing pages, which should just render a 404 page instead:

    TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, null given in array_intersect_key() (line 104 of modules/contrib/token_url_plus/token_url_plus.module).
    

    Steps to reproduce

    - Install this module + Metatag (for example) - Set a global metatag (e.g. canonical URL) that uses the following token: "[current-page:url-with-query:with-some-parameters:page]" - Go to the path "/path-does-not-exist"

    Proposed resolution

    - Make sure the $query variable is an array, before performing array-operations on it.

Sven Decabooter - Drupal Developer

"Onze teamleden bouwen zelf ook mee aan ons geliefde Drupal, en daar zijn we trots op"

Sven Decabooter
Drupal developer

Betrouwbare technologie, naadloze prestaties. Dat zijn onze Drupal-oplossingen.