Bug #23434 See Comments

Fieldtype replace tags not parsed when very large blocks of text are present.

Version: 4.0.7 Reporter: Brian Litzinger

I had an Bloqs issue reported from a customer, but I feel like its a deeper problem with EE. Given the following template, the {blocks}{/blocks} pair does not get parsed (the entire chunk of code is output to the browser). It doesn’t call the replace_tag method in my ft file. As soon as I remove either the {blocks:total_blocks} modifiers OR the 5000 words of lorem ipsum, the ft.bloqs.php->replace_tag method is called and the {blocks}{/blocks} pair is parsed. I tried to re-create this with Grid, but I can’t. It works fine in Grid. I would continue digging into this as a Bloqs issue, but the fact that my replace_tag method is never called means something in EE is failing, so its not even getting to Bloqs to have a chance to render the output.

{exp:channel:entries channel="pages" entry_id="{segment_2}"}
    
    total_blocks: {blocks:total_blocks}
    {if "{blocks:total_blocks}" > "1"}TRUE{/if}

    {blocks}
        {section}
            <h1>{heading}</h1>
            {summary}
        {/section}
        {row}
            <h2>{heading}</h2>
        {/row}   
    {/blocks}

 ... add 5000 lorem ipsum words here ...

{/exp:channel:entries}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases