Project

General

Profile

Actions

Bug #88418

closed

CType table broken with empty space

Added by Franz Kugelmann almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2019-05-22
Due date:
% Done:

100%

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

Description

How to replicate:
Create a content element table with following structure and leave all other settings with default values

1a | 1b | 1c
2a | 2b | 
3a | 3b | 3c

Add an empty space at the end of line 2. (Could easily happen, ie. if you remove the content from that cell, but leave the empty space)

Result:
Table is broken, because the empty space is handled as start of new table cell, but this cell is never closed, thus merging the whole line 3 into that cell.

Possible fix, add following TypoScript:

tt_content.table {
    dataProcessing {
        10 {
            fieldEnclosure.if.value = 0
            fieldEnclosure.if.equals.field = table_enclosure
            fieldEnclosure.if.negate = 1
        }
    }
}

Applies also for 8 LTS

Actions #1

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Riccardo De Contardi over 4 years ago

  • Tags set to CodingNight
Actions #3

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Accepted 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/+/61423

Actions #4

Updated by Gerrit Code Review over 4 years ago

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

Actions #5

Updated by Michael Blunck over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF