Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | fix-caption-missing-bug-tablefield-2866358-1.patch | 1.03 KB | Rkhatun |
Comments
Comment #2
Rkhatun CreditAttribution: Rkhatun at Cancer Research UK commentedComment #3
Rkhatun CreditAttribution: Rkhatun at Cancer Research UK commentedI have created a patch to fix this problem
Comment #4
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedWhat 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.
Comment #5
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedComment #6
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedI presume this issue is reporting an incompatibility issue with the Paragraphs module?
Please confirm if so.
Comment #7
lolandese CreditAttribution: lolandese at HCL Technologies Limited commentedClosing for lack of response.
Comment #8
cilefen CreditAttribution: cilefen at Institute for Advanced Study commentedWe are experiencing this issue when a tablefield is used in a Paragraphs bundle.
Comment #9
cilefen CreditAttribution: cilefen at Institute for Advanced Study commentedComment #10
cilefen CreditAttribution: cilefen at Institute for Advanced Study commentedBut this is probably a duplicate.