[TYPO3-core] RFC: #14396: Warn when KEEP_FILE is set

Steffen Kamper info at sk-typo3.de
Sun May 16 22:09:43 CEST 2010


Jigal van Hemert schrieb:
> Helmut Hummel wrote:
>> On 16.05.10 01:46, Steffen Kamper wrote:
>>> When the ENABLE_INSTALL_TOOL file contents "KEEP_FILE" it won't be 
>>> deleted.
>>
>> -1 for the current implementation.
>>
>>
>> That's why:
>>
>> * The warning messeage renders the warning every time, even if the setup
>> was called just to change passwords.
> 
> True, it's a bit odd that the warning is visible when a tab is shown 
> which has nothing to do with the file.

it's only for admins, so it's the right adress to nag.

> 
>> * Although it works it looks strange to me that the introduced
>> properties are protected, but are used in a not protected context
>> ($parent->installToolFileExists)
> 
> IMO properties (data members) should never be public. If you ever need 
> to change the way data is stored you're stuck because the property has 
> become part of the public API.
>

look to new patch, you can't change it, you only can renew the check.


>> * although there is the warning, I find it strange that the button looks
>> the same (even if it's disabled). Btw. even with Steffen Geberts patch,
>> the mouse cursor still turns into a pointer when hovering the button.
> 
> Why not simply hide the button if the file contains KEEP_FILE and 
> display the flashmessage in its place?
> 

i don't put any more energy in this less important issue. So either take 
v3 or leave it.

vg Steffen


More information about the TYPO3-team-core mailing list