[TYPO3-core] RFC #8897: BUG: "displayCond" => "FIELD:myfield:IN:1, 2" is not working correct on DB relations
alex widschwendter
a.widschwendter at mediares.at
Thu Jul 3 17:04:18 CEST 2008
This is an SVN patch request.
Type: New feature
Bugtracker references:
http://bugs.typo3.org/view.php?id=8897
Branches:
TYPO3_4-2 and trunk
Problem:
if setting a displayCond of type FIELD with IN the check is not correct
for DB relations because the field value to evaluate is transported with
the label in form
uid|label. additonal the check routine fails if you want to test against
multiple values in list.
Solution:
attached patch converts the malformed values into arrays for proper
testing. addtional to that, a new keyword "ALL" is introduced for this
type of displayCond to specify if all id's must exist in the field to
test against for true evaluation.
TIA alex
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_0008897.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080703/5d3eb833/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: doku_0008897.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080703/5d3eb833/attachment-0001.txt
More information about the TYPO3-team-core
mailing list