[TYPO3-core] Question concerning bug #6245: enableFields() not called in some cases

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Oct 9 09:55:03 CEST 2007


Hi!

Martin Kutschker wrote:
> Why is it that the Core in some places does not use enableFields for 
> "pages", but uses "fixed" values for the SQL clauses. The reason is that 
> WS related stuff and other stuff is handled by this. But in a note it 
> says that some Core parts use enableFields('pages'). Would that be an 
> error?

Not always. I found it too and tried to fix but it turned out that enableFields could not be used at some moments because TYPO3 is not initialized enough at that moment. I do not remember details but I remember not to change this again when I come accross such places :)

It is quite possible that not all places are like this.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list