[BUGFIX] Disable debug for Fluid Ajax Widget 82/45082/2
authorBenni Mack <benni@typo3.org>
Wed, 2 Dec 2015 12:22:39 +0000 (13:22 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Wed, 2 Dec 2015 20:48:02 +0000 (21:48 +0100)
If TYPO3_CONF_VARS[FE][debug] is enabled then the
parseTime is added at the end of each frontend output.

When having AJAX responses, this might be problematic
as the expected output contains more than what is needed.

Explicitly setting debug=0 for the page type 7076 resolves
the problem in Fluid.

Releases: master
Resolves: #71793
Change-Id: I6295286232dd0b1e4257b4e9a3928837ba6e9a1b
Reviewed-on: https://review.typo3.org/45082
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/fluid/ext_typoscript_setup.txt

index fbd5007..25dbb0a 100644 (file)
@@ -4,9 +4,10 @@ fluidAjaxWidgetResponse {
        typeNum = 7076
        headerData >
        config {
-               no_cache=1
+               no_cache = 1
                disableAllHeaderCode = 1
                additionalHeaders = Content-type:text/plain
+               debug = 0
        }
        10 = USER_INT
        10 {