Project

General

Profile

Bug #83877

Updated by Tim Jonas Pflaum almost 7 years ago

False error code in Backend when tca userFunc calls the render function with a DebuggerUtility::var_dump($this->pageRenderer->getCompressJavascript()); 
 <pre> 
 <code class="php"> 
 /** 
 * 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)); 
	 } 
 </code></pre> </pre> 

 !Error-200-OK.png!

Back