Module implementing hook_scald_render() can returns either a renderable array or a HTML markup. When it is a renderable array, currently Scald does a drupal_render() and stores the rendered content in cache. It should directly store the renderable array in cache so that '#attached' content works.

CommentFileSizeAuthor
#1 scald-2069845-cached-renderable-1.patch3.05 KBjcisio

Comments

jcisio’s picture

Status: Active » Needs review
StatusFileSize
new3.05 KB
jcisio’s picture

Status: Needs review » Fixed

All tests passed. Committed a1c3e11.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.