I was able to use this formatter to properly display a field collection generated by field_collection module as a table within a node display.

But when I tried to do the same (display a field collection generated by field_collection module as a table) within a Taxonomy term display, I got a white screen and no entry on the log. The source code for the white page is as follows:

<div class="contextual-region view view-taxonomy-term view-id-taxonomy_term view-display-id-page_1 js-view-dom-id-743db4945c3afcfcd24e157ede9abad4f9264b752bab857ccd1c2dab4f61ab45">
<div data-contextual-id="entity.view.edit_form:view=taxonomy_term:location=page&amp;name=taxonomy_term&amp;display_id=page_1&amp;langcode=es"></div>
<div class="view-header">

If I change the formatter to "Field Collection Items", the field collection displays just fine.

Thus, I assume that this is a reference_table_formatter module issue.
I created an issue for this there: https://www.drupal.org/node/2777925

Nonetheless, I am cross post this bug report here as well.

I tried with both RC/beta and dev versions of both modules.

Comments

Carlos Miranda Levy created an issue. See original summary.

jmuzz’s picture

Status: Active » Postponed (maintainer needs more info)

Development is moving to 8.x-3.x.

I am not sure they would have support for 8.x-1.x field collections. 8.x-3.x field collections are extending entity reference, so it may work better now. Let me know if the issue persists in 8.x-3.x.

imclean’s picture

Yes, try with field_collection 8.x-3.x which seems more compatible with a number of modules.

You'll need this patch for reference_table_formatter: #2825282: Use target_id instead of value with field_collection

ram4nd’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: -Reference Table Formatter