[TYPO3-core] RFC #4405: Bug: SQL errors with foreign_table_where and ###REC_FIELD_*### marker

Andreas Otto andreas at otto-hanika.de
Sun Jul 5 17:40:10 CEST 2009


Martin Kutschker wrote:
> Why 0? This would only make sense for numerical fields.

That's true.

> Perhaps it would be better to add a special where clause for new records.

Well, just point me to the right direction and I will see if I can
create a new patch.

We could also stick with Steffen Kamper's workaround,
CAST('###REC_FIELD_sys_language_uid###' AS UNSIGNED), and close the bug
report right away - but this workaround has to be documented clearly in
doc_core_api.


Cheers,
Andreas


More information about the TYPO3-team-core mailing list