[TYPO3-core] RFC: #8092: defect wsid check in workspace-overlay delivering wrong record versions from DB!
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Apr 12 15:57:48 CEST 2008
Franz Koch schrieb:
> Hi Masi,
>
>>> correct the operator in the if-statement of the wsid-check from '!=='
>>> to '!='. Patch is provided in bugreport.
>>
>> Why is this the solution? The original check assumed that wsid is an
>> integer. After your change an implict type conversion occurs.
>
> if '!=' should not be used when checking the wsid - then there is
> another bug in core where exactly this is the case.
I don't know. The WS code is mainly Kaspers' and partially Dmitry's.
To my knowledge this is the only variable with a strict type conversion
in the Core.
Masi
More information about the TYPO3-team-core
mailing list