[TYPO3-core] RFC #17268: t3editor dont save the "deactivated" state in fileadmin/fileedit

Tobias Liebig mail_typo3 at etobi.de
Mon Jan 24 15:36:23 CET 2011


This is an SVN patch request.

Type: bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=17268

Branches: Trunk

Problem:
when the user edits a file in fileadmin and checks the "deactivate t3editor" checkbox below the t3editor, this state won't be stored correctly.
So the t3editor is still actived, when the user edits a file next time.
In the template module this setting ist stored in the user configuration of the backend user.
When saving a file in file_edit.php the POST-request is send to tce_file.php, which then redirects back to file_edit.php.
In file_edit.php the class tx_t3editor is instanciated. This class checks, if the checkbox is set in the _POST values. Due to the redirect these _POST values are no more available.

Solution:
Use ExtDirect to store the user configuration value.

Note:
Thanks Steffen K. for pointing me to the ExtDirect stuff

regards
  tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17268.diff
Type: application/octet-stream
Size: 1809 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110124/897aca94/attachment.obj>
-------------- next part --------------





More information about the TYPO3-team-core mailing list