The Tablefield is saving user entered value for caption and it appear in the frontend initially, however, user wants to edit the table then the caption value goes missing.

This is because on tablefield_field_widget_form() line 722, the code is checking wrong value and the result of if statement is always negative hence it never capture the caption value that the user has put in.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rkhatun created an issue. See original summary.

Rkhatun’s picture

Issue summary: View changes
Rkhatun’s picture

I have created a patch to fix this problem

lolandese’s picture

What you mean with .. in Paragraph bundle?

In 7.x-3.x all seems fine. Editing the table shows me the current value for the caption.

lolandese’s picture

Status: Active » Postponed (maintainer needs more info)
lolandese’s picture

Issue tags: -Tables +incompatibility

I presume this issue is reporting an incompatibility issue with the Paragraphs module?

Please confirm if so.

lolandese’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing for lack of response.

cilefen’s picture

Priority: Minor » Normal
Status: Closed (cannot reproduce) » Active

We are experiencing this issue when a tablefield is used in a Paragraphs bundle.

cilefen’s picture

Version: 7.x-2.5 » 7.x-3.x-dev
Assigned: Rkhatun » Unassigned
cilefen’s picture

Status: Active » Closed (duplicate)
Related issues: +#2902735: Caption dropped when editing with Paragraphs

But this is probably a duplicate.