Project

General

Profile

Actions

Bug #83877

closed

False Error code (200)

Added by Tim Jonas Pflaum almost 7 years ago. Updated 4 months ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2018-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
BE, Backend, Error, TCA, userFunc
Complexity:
Is Regression:
Sprint Focus:

Description

False error code in Backend when tca userFunc calls the render function with a DebuggerUtility::var_dump($this->pageRenderer->getCompressJavascript());
This happened when we had a content element inside of another contentelement, which we do for our accordion.

/**
* Renders the Google map.
* @param array $parentArray
* @param UserElement $pObj
* @return string
* @throws \InvalidArgumentException
* @throws \BadFunctionCallException
*/
    public function render(array $parentArray, UserElement $pObj):string
    {
        $this->init();
        $this->pageRenderer->addJsFile('EXT:extension_key/Resources/Public/Js/Maps.js', 'text/javascript', true, true);
        $this->pageRenderer->addJsFile('https://maps.googleapis.com/maps/api/js?key=' . $this->apiKey . '&callback=myMapTCA', 'text/javascript', false, false, '', true);
        DebuggerUtility::var_dump($this->pageRenderer->getCompressJavascript());
        return $this->getMapHtml($this->getConfiguration($parentArray));
    }


Files

Error-200-OK.png (9.81 KB) Error-200-OK.png Tim Jonas Pflaum, 2018-02-13 11:43
Actions

Also available in: Atom PDF