Skip to content

Commit

Permalink
[BUGFIX] Fix wrong type in "rootLevel" option
Browse files Browse the repository at this point in the history
Several system tables used a wrong type for ctrl option "rootLevel"
in TCA. By definition in TCAref "rootLevel" is from type integer.

Resolves: #83990
Branches: master
Change-Id: Ic49464ce428a1d9a928f90231c77e0d445789ee7
Reviewed-on: https://review.typo3.org/55852
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
  • Loading branch information
a-r-m-i-n authored and georgringer committed Feb 21, 2018
1 parent ffd7510 commit 928c481
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public function addDataAddsExcludeFieldsWithSpecialExcludeDataProvider()
'fooTable' => [
'ctrl' => [
'title' => 'fooTableTitle',
'rootLevel' => true,
'rootLevel' => 1,
'security' => [
'ignoreRootLevelRestriction' => true,
],
Expand Down Expand Up @@ -526,7 +526,7 @@ public function addDataAddsExcludeFieldsWithSpecialExcludeDataProvider()
'fooTable' => [
'ctrl' => [
'title' => 'fooTableTitle',
'rootLevel' => true,
'rootLevel' => 1,
],
'columns' => [
'bar' => [
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/TCA/sys_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'tstamp' => 'tstamp',
'type' => 'type',
'hideTable' => true,
'rootLevel' => true,
'rootLevel' => 1,
'default_sortby' => 'name ASC',
'typeicon_column' => 'type',
'typeicon_classes' => [
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/TCA/sys_file_metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'cruser_id' => 'cruser_id',
'type' => 'file:type',
'hideTable' => true,
'rootLevel' => true,
'rootLevel' => 1,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/TCA/sys_file_storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'default_sortby' => 'name',
'delete' => 'deleted',
'descriptionColumn' => 'description',
'rootLevel' => true,
'rootLevel' => 1,
'versioningWS_alwaysAllowLiveEdit' => true, // Only have LIVE records of file storages
'enablecolumns' => [],
'typeicon_classes' => [
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/TCA/sys_history.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'label' => 'tablename',
'tstamp' => 'tstamp',
'adminOnly' => true,
'rootLevel' => true,
'rootLevel' => 1,
'hideTable' => true,
'default_sortby' => 'uid DESC',
],
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/TCA/sys_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'label' => 'details',
'tstamp' => 'tstamp',
'adminOnly' => true,
'rootLevel' => true,
'rootLevel' => 1,
'hideTable' => true,
'default_sortby' => 'uid DESC',
],
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Configuration/TCA/sys_news.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'adminOnly' => true,
'rootLevel' => true,
'rootLevel' => 1,
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'label' => 'uid',
'default_sortby' => '',
'hideTable' => true,
'rootLevel' => true,
'rootLevel' => 1,
'adminOnly' => true,
'typeicon_classes' => [
'default' => 'empty-icon'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'label' => 'uid',
'default_sortby' => '',
'hideTable' => true,
'rootLevel' => true,
'rootLevel' => 1,
'adminOnly' => true,
'typeicon_classes' => [
'default' => 'empty-icon'
Expand Down

0 comments on commit 928c481

Please sign in to comment.