[TYPO3-core] RFC #12718: TCEforms exec_foreign_table_where_query fails with an Oracle error
Steffen Kamper
ks at dislabs.de
Sun Feb 21 22:33:08 CET 2010
Hey Benni,
Benjamin Mack schrieb:
> On 24.11.09 10:27, Xavier Perseguers wrote:
>>
>> Test whether REC_FIELD_UID contains a number and if not put "0" instead,
>> this will lead to same result.
> Hey Xavier,
>
> this sounds like a little bit of magic to me, with no reason why a "0"
> is needed there. Either we add a comment in front of this if() clause or
> ... mmh, any way to make the solution "cleaner" or "more reasonable"?
>
when tcemain create a new record, the uid is filled with this
placeholder. For any substitution the condition is false (uid=anything),
so using 0 seems ok to me, this is false also.
It's not magic in my eyes, it only has to be documented proper.
btw - +1 by reading
vg Steffen
More information about the TYPO3-team-core
mailing list