Issue Bug New Orphaned

#108101Writing table delimiters in cell values creates unwanted columns in table content element

Andreas Nedbal 11/13/25, 16:26 updated 11/13/25, 16:26

Description

Using the delimiter also in a cell value gets the cell value displayed in two cells instead of one after next save.

How to reproduce:

  • Create a table content element
  • Set table_delimiter to Comma and table_enclosure to “Double quotes”
  • Save the element without entering data into any cell!
  • After save, enter foo,bar into one cell and save

Result:

  • foo and bar are displayed in separate cells
  • bodytext field in database is saved with foo,bar

Expected behaviour:

  • The Wizard shows only one cell with foo,bar
  • In the database the value is stored with "foo,bar"

Next step:

  • Change the value of one cell and save
  • Now bodytext is correctly saved with "foo2","bar"

Further observations:

  • The frontend rendering is correct for what is stored in the bodytext database field
  • If you only fill bodytext accordingly, e.g. by making direct changes in the database, the frontend output also functions correctly
  • The data in the database only breaks when you use the wizard and save the content element

I assume that can be fixed within writeTableSyntaxToTextarea() in Build/Sources/TypeScript/backend/form-engine/element/table-wizard-element.ts
For # 1 I have no idea so far.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Writing table delimiters in cell values creates unwanted columns in table content element Resolves: #108101 Releases: main