Bug #83319

Extension settings do not respect default values

Added by Steffen Kamper almost 2 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2017-12-14
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
BE settings
Complexity:
Is Regression:
Sprint Focus:

Description

in my ext_conf_template i have settings like this:

  1. cat=Hooks/20; type=boolean; label=Compress HTML (works only in production environment)
    compressHTML = 0

as 0 is the default value, it should be unchecked. But when i call the extension configuration for the first time (nothing already saved), all values are checked.


Related issues

Related to TYPO3 Core - Task #82368: Move extension settings from extension manager to install tool Closed 2017-09-08
Duplicated by TYPO3 Core - Bug #83553: Storing boolean values from ext_conf_template.txt are stored correctly (twice) but are shown as checked always in module Closed 2018-01-13

Associated revisions

Revision 90b9959d (diff)
Added by Steffen Kamper over 1 year ago

[BUGFIX] Fresh tag in TypoScriptConstantsViewHelper per call

With current fluid, the TypoScriptConstantsViewHelper is
instantiated only once and re-used if called multiple times.
$this->tag is then polluted from previous runs and creates
funny results.
Fix by re-initializing that property each call.

Resolves: #83319
Releases: master
Change-Id: Idf9e14ca69e76278bd0d6eaca1fec9b93c238fd5
Reviewed-on: https://review.typo3.org/55273
Tested-by: TYPO3com <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Henning Liebe <>
Reviewed-by: Jan Stockfisch <>
Reviewed-by: Reiner Teubner <>
Tested-by: Reiner Teubner <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Susanne Moog almost 2 years ago

  • Category set to Extension Manager

#2 Updated by Susanne Moog almost 2 years ago

  • Related to Task #82368: Move extension settings from extension manager to install tool added

#3 Updated by Gerrit Code Review over 1 year 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/55273

#4 Updated by Stephan GroƟberndt over 1 year ago

  • Duplicated by Bug #83553: Storing boolean values from ext_conf_template.txt are stored correctly (twice) but are shown as checked always in module added

#5 Updated by Gerrit Code Review over 1 year ago

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

#6 Updated by Gerrit Code Review over 1 year ago

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

#7 Updated by Gerrit Code Review over 1 year ago

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

#8 Updated by Steffen Kamper over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#9 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF