Hi guys,

I am not sure if this is a field collection issue or is related to drupal core itself or if it's something else...
But we do use field collection to build the front blocks on this site...
But I'm having a problem that randomly the field wrappers (div wrappers) DO NOT get output, then it breaks the formatting (looking and feel) of the site...

When it happens, this:

<div class="field field--name-field-title field--type-text field--label-hidden"><div class="field__items"><div class="field__item even"><h3><a href="http://info.mysite.com" title="Oil Supply Chain Disruption Impacts" target="_blank">Oil Supply Chain Disruption Impacts</a></h3>
</div></div></div>

Becomes this:
<h3><a href="http://info.mysite.com" title="Oil Supply Chain Disruption Impacts" target="_blank">Oil Supply Chain Disruption Impacts</a></h3>

Then after clearing all cache (drush cc all)
Everything gets back to normal...

See screenshot of the issue...
Field Formatting Issues

Please let me know if you guys have any input on this...

Thank you in advance...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lemu@commonplaces.com’s picture

Issue summary: View changes
jmuzz’s picture

Status: Active » Postponed (maintainer needs more info)
FileSize
961 bytes

I had a similar problem with another kind of embedded content that was caused by nodes being loaded when the admin theme was active, while managing the site for example. It didn't matter that the nodes were not displayed at that time, their field values were cached after being rendered with the wrong theme and then displayed later.

Try this core hack and let me know if it solves your problem.

(May need modifying, for example remove the 'story' conditional)

jmuzz’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)