Issue Bug Closed

#71219Wrong Error Message in sysext\backend\Classes\Controller\File\EditFileController.php

Gernot Schulmeister 10/31/15, 19:48 updated 10/21/17, 17:36

Description

When editing and saving a file in Filelist an error flash message appears although the changes of the files are saved.

This is only the case when the extension t3editor is loaded.

What happens is:

In sysext\t3editor\Resources\Public\JavaScript\T3editor.js the T3editor.setAjaxSavetypeCallback function is called.

This calls the ajaxSaveCode Function in sysext\t3editor\Classes\T3editor.php

In the try catch Block the two hooks sysext\t3editor\Classes\Hook\TypoScriptTemplateInfoHook.php and sysext\t3editor\Classes\Hook\FileEditHook.php are called which return both false because $parameters[‘type’] = Null

Reviews 1