Project:Matrix field
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:needs review

Issue Summary

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.

AttachmentSize
matrix.display_fix.patch909 bytes

Comments

#1

Status:needs review» fixed

Thanks for that.

#2

Status:fixed» needs review

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 :).

AttachmentSize
matrix.530252.2.patch 942 bytes

#3

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

Any ideas?

Thanks,

CarbonPig

#4

same here, tables are gone...

#5

subscribing

nobody click here