The matrix table isn't displaying for node displays. The problem lies in the matrix_format_prepare() function when it begins to prepare the data (which lives in either $field_info['data'] or $item), it destroys the $field_info['data'] even if $item is empty.

Attached a simple patch that fixes this issue.

CommentFileSizeAuthor
#2 matrix.530252.2.patch942 bytesduellj
matrix.display_fix.patch909 bytesduellj

Comments

aaron1234nz’s picture

Status: Needs review » Fixed

Thanks for that.

duellj’s picture

Status: Fixed » Needs review
StatusFileSize
new942 bytes

Whoops, looks like this patch reintroduced the warnings that this issue was trying to fix: #498802: Foreach warnings

Sorry about that, here's the correct patch :).

CarbonPig’s picture

I tried the updated patch, but it still doesn't seem to show the table. ??

Any ideas?

Thanks,

CarbonPig

Ela’s picture

same here, tables are gone...

develcuy’s picture

subscribing

intrafusion’s picture

Status: Needs review » Closed (won't fix)