[TYPO3-core] RFC: Bug #12803: Creating or deleting ENABLE_INSTALL_TOOL file saves settings in "User Settings"

Oliver Hader oliver at typo3.org
Fri May 7 14:17:27 CEST 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12803

Branches: TYPO3_4-3, Trunk

Problem:
In the user settings module (User Tools > User Settings) we have several
customized buttons to perform an action that is not fully related to
maintain user settings or user data at all, e.g.
* reset configuration
* reset temporary data
* create/delete install tool file
Clicking on of these buttons results in also storing modified user data.

Solution:
The accordant method need to checks whether the "save configuration"
button really was clicked - so, the field got renmaned from just
"submit" to "data[save]" in the markup. Only if this field was
submitted, user fields and settings are modified now.

Notes:
Find attached patches for Trunk and 4.3.

How to test the patch:
* open the user settings module
* modify your name but don't save
* select the "admin functions" tab
* create or delete the install tool file
> Your user settings are not modified anymore.


olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012803_43.patch
Type: text/x-patch
Size: 4216 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100507/fedf6d9f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012803.patch
Type: text/x-patch
Size: 4401 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100507/fedf6d9f/attachment-0001.bin>


More information about the TYPO3-team-core mailing list