Issue Bug Closed

#22247page.jsInline / page.jsFooterInline may fail with config.removeDefaultJS=external

Steffen Ritter 03/06/10, 18:54 updated 02/12/14, 12:06

Description

jsInline and jsFooterInline are build from cObject-Array.
These may contain _INT objects. INT-Objects are put as markers in content, and replaced before delivery by TSFE.

removeDefaultJS=external moves the inlineJS to an external file. If there are markers for INT-Objects they are moved to external file too (where it never will be substituted).

The result is, that
a, the JS file will raise JS-Errors
b, the INT-Object JS is not present

This means: INT-Object must not relocated to an external file, since this is not compatible with TYPO3 INT-object handling.

Solution: Extract the markers before moving to external file and include INT-Objects still inline .

(issue imported from #M13758)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.