Posted by duellj on July 24, 2009 at 8:18pm
| 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.
| Attachment | Size |
|---|---|
| matrix.display_fix.patch | 909 bytes |
Comments
#1
Thanks for that.
#2
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 :).
#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