Project

General

Profile

Actions

Bug #71219

closed

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

Added by Gernot Schulmeister over 8 years ago. Updated over 6 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 #1

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44524

Actions #3

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44524

Actions #4

Updated by Wouter Wolters over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF