Skip to content

The Value 0 in a table will be dispayed as nbsp und therefore the number vanishes to an empty cell #1586

@braukma

Description

@braukma

Bug Report

The Value 0 in a table (content element CSV) will be dispayed as nbsp und therefore the number vanishes to an empty cell

Prerequisites

None.

I simply use a CSV Table like

Station;Number of observations;Date
Halle;0;13.08.2025
Duisburg;7;13.08.2025

The output Table wont show the 0 for "Halle", the cell is just blank.

Description

Today, I dug my way throu Templates an Partials and found in
\bootstrap_package\Resources\Private\Partials\ContentElements\Table\Columns.html

I use bootstrap 12.0.10, but I've seen this in 15.0.3 as well.

Line 46
<f:if condition="{cell}">

Changeing this to
<f:if condition="{cell} != ''">

cured my problem.

Is this behaviour intended? Typo3 Core was affected long in the past too (content element TABLE) and as I looked its been fixed (as above mentioned) long since 9.5.something.

Regards,

Jürgen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions