The more link values are not getting saved anymore

Created on 10 April 2025, 15 days ago

Problem/Motivation

When placing a views_block_override block, the more link text and link are not saved anymore.

Steps to reproduce

Place a views_block_override block in the block layout and set some values for the more link.
Save and see the error messages.
Edit the block and verify the values were not saved.

Proposed resolution

The part where the code saves the values in blockSubmit should handle this.
// Save when there is no control field. only checks for array values.
Also implement a single value so it will save the More link text and link.

        else {
          if (is_array($values)) {
            foreach ($values as $id => $value) {
              $config[$type][$id] = $value;
            }
          }
          else {
            $config[$type] = $values;
          }
        }

Remaining tasks

Create MR

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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