[BUGFIX] Prevent tt_content.table being broken if last field is empty 23/61423/2
authorMichael Blunck <michael.blunck@phth.de>
Fri, 2 Aug 2019 22:47:39 +0000 (00:47 +0200)
committerSusanne Moog <look@susi.dev>
Sat, 3 Aug 2019 17:05:43 +0000 (19:05 +0200)
This only applies to table elements where no text enclosure
is configured.

Resolves: #88418
Releases: master, 9.5
Change-Id: I8ba7cefe0da37fd7987858c1302dac9f3ba2ff10
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61423
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/fluid_styled_content/Configuration/TypoScript/ContentElement/Table.typoscript

index 18ce3a4..5c53b40 100644 (file)
@@ -18,6 +18,13 @@ tt_content.table {
             fieldEnclosure.char.cObject {
                 field = table_enclosure
             }
+            fieldEnclosure {
+              if {
+                value = 0
+                equals.field = table_enclosure
+                negate = 1
+              }
+            }
             maximumColumns.field = cols
             as = table
         }