Project

General

Profile

Actions

Bug #71219

closed

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

Added by Gernot Schulmeister about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
t3editor
Target version:
Start date:
2015-10-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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


Files

ErrorMessageInEditFileEditorAlthoughChangesAreSaved.JPG (67.3 KB) ErrorMessageInEditFileEditorAlthoughChangesAreSaved.JPG Gernot Schulmeister, 2015-10-31 19:48
ajaxCall.JPG (97.2 KB) ajaxCall.JPG Gernot Schulmeister, 2015-10-31 19:48
Actions

Also available in: Atom PDF