Field_table component changes the rows to columns and vice versa on every submit in edit mode.

Another small html bug is corrected in this patch.
Changed suffix of rows <tr> to </tr>.

CommentFileSizeAuthor
field_table_1.inc.patch946 bytesenergie

Comments

Bèr Kessels’s picture

Component: Code » Field types

I can confirm the bug for the incorrect HTML, but can someone else please test the patch?

samc’s picture

Priority: Critical » Normal
Status: Needs review » Needs work

Downgrading this to normal since it's an issue w/ a contrib field and not core.

The patch does fix the issue of transposed data, but there seem to be a bunch of other things that need to be addressed.

For ex, the form html generated certainly won't validate because there are multiple elements with the same id. Also the id's look like something else is supposed to be happening that isn't, e.g. id="edit-flexinode_51_3]["???

Also the field doesn't validate properly if required. Probably a fix similar to http://drupal.org/node/54215 will work.