Bug #92683

Multiple checkboxes in site configuration not stored correctly

Added by Chris Müller about 1 month ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-10-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When extending the site configuration with an extension and use multiple (activated) checkboxes, only the first checkbox is saved as activated.

This is due the converting of the value to a bool before writing to config.yaml:

myOptions: true

The correct behaviour would be to save the the original value when no renderType is given:

myOptions: '3'

Files

siteconfiguration_check.png (4.51 KB) siteconfiguration_check.png Chris Müller, 2020-10-22 18:13
#1

Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66255

Also available in: Atom PDF