[TYPO3-mvc] Select-field with items-array and foreign_table
Martin Kutschker
masi-no at spam-typo3.org
Thu Jan 28 17:45:48 CET 2010
Franz Koch schrieb:
> Hi,
>
>>> I think {article.category.title} should render nothing if the category
>>> don't exist.
>>> So I catched the exception. See my patch uploaded with the bug report.
>>
>> Hm. I am not sure if this should be the intended behavior. It's a
>> difference, if there is an empty title or if there is no parent object.
>
> but the result is the same - no title ;) So template wise I think this
> is the intended behavior. Better display nothing to the visitor then a
> exception ;)
I think this is a kind of decsion done in FLOW3/v5 with context. In a developing context you might
(!) want an exception for this (but maybe only a warning als Flash message or a log entry), in
production you certainly don't want an exception.
Question: is there a way to put FLUID in a "debug context"?
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list