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.
When adding the 2nd row using "Add Another", the headers get messed up and the row weights field appears - see attached.
Comment | File | Size | Author |
---|---|---|---|
#15 | field-collection-table-headers-2104475-4.patch | 613 bytes | alx_benjamin |
#3 | field-collection-table-headers-2104475-3.patch | 3.7 KB | robcarr |
#1 | issue_2104475.patch | 3.69 KB | blainelang |
broken_headers.jpg | 33.94 KB | blainelang |
Comments
Comment #1
blainelang CreditAttribution: blainelang commentedAttached is a patch against DEV that fixes this as well as a NOTICE error that occurs.
Comment #2
blainelang CreditAttribution: blainelang commentedThere is also a related issue here: https://drupal.org/node/1780394
Comment #3
robcarrFor some reason the patch at #1 wouldn't apply for me, so attached a re-roll. I'm getting lots of corruption of the table if the 'Hide blank items' option is selected on the parent content type (including the headers). The patch hasn't completely solved this issue (which seems to be related to the draggable rows column).
Comment #4
anonPatch in #3 works fine for me.
The table now renders perfect. Haven't test it on any other configurations except just using the table widget.
Comment #5
brandy.brown CreditAttribution: brandy.brown commentedPatch in 3 worked for me too. Also solved another issue I was having of it adding random empty table rows.
I'm pretty sure this patch also solved https://drupal.org/node/1945998, but would need someone else to make sure that's true.
Thanks!!
Comment #6
entornos.abiertos CreditAttribution: entornos.abiertos commentedPatch in #3 also works fine for me.
Thanks!
Comment #7
robcarrComment #8
xandeadx CreditAttribution: xandeadx commented#3 works for me
Comment #9
slimedidi CreditAttribution: slimedidi commented#3 works for me!
but is that possible bundle with Ignores Field Access issue's patch?
Comment #10
kristiaanvandeneynde@slimedidi: You generally shouldn't combine two issues into one patch.
Comment #11
slimedidi CreditAttribution: slimedidi commented@kristiaanvandeneynde : yap! I try to do that but failed....so I'm wondering if anyone have the same problem.....
Comment #12
lucidwayn CreditAttribution: lucidwayn commented#3 needed an extra "}" for version - field_collection_table 7.x-1.0-beta2
Seemed to do the trick through once patch + extra parenthesis was added.
Comment #13
darvanenCould not replicate on a fresh site using dev version - has this been committed already? or fixed by another patch?
Comment #14
maximpodorov CreditAttribution: maximpodorov commented@kevineinarsson, is this issue fixed by the recent commits?
Comment #15
alx_benjamin CreditAttribution: alx_benjamin commentedCouldn't apply patch #3 in its entirety.
So here is a separate patch to address
theme_field_collection_table_multiple_value_fields().
Comment #17
kevineinarsson CreditAttribution: kevineinarsson commentedFixed.