[TYPO3-ect] tx_base - tslib_pibase modernized
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Apr 5 09:57:31 CEST 2007
Elmar Hinz wrote: on 04.04.2007 11:06:
>> So it might be needed to modify the pageNotFoundOnCHashError processing for USER objects to be only triggered if a certain flag (maybe '$this->reactOnPiVars') is set or not? Or is $this->pi_USER_INT_obj exactly that flag?
>>
>> Another idea would be to automatically switch a cached USER object reacting/listening to piVars to USER_INT if no cHash is given.
> I don't think so. The answer to an overdose of flags can't be another one.
> It should rather be the removement of the unnecessary flags.
>
> The unnecessary flag is "checkCHash" in this case.
>
> Remove this flags and use a simple rule in the core:
>
> -----------------------------------------
> If there is a cHash always check & cache.
> -----------------------------------------
>
> No extension should generate a cHash that is not targeted to be cached.
>
> To do that is always a risc as my example proves. checkCHash is a
> misconception. IMHO this simple rule is all we need. We don't need a
> jungle of flags here.
Without thinking too much about it, I would agree on that one. Sounds
plausible, at least at first sight. Let me have some more thoughts (or
maybe after some other feedback from Stucki) about it.
Cheers,
Ernesto
More information about the TYPO3-team-extension-coordination
mailing list