[TYPO3-core] RFC: non-existing or empty <meta> in T3FlexForms may cause errors in tceforms
Franz Holzinger
franz at fholzinger.com
Wed Oct 18 21:26:42 CEST 2006
Hello Dmitry,
> > And when there is no meta tag at all then an error message should be
> > shown. Or when does it happen to have a <T3FlexForms> without meta tags?
>
> It is possible to create such structure. See bug report for example.
>
No, in the bug report there is a meta tag available which however is no
array. http://bugs.typo3.org/view.php?id=3720
> In fact existing code works if <meta> exists but not as array. Mine
> fixes a case when it does not exist at all:
>
> >> - } elseif (isset($editData['meta']) && !is_array($editData['meta'])) {
> >> + } elseif (!isset($editData['meta']) || !is_array($editData['meta'])) {
In which case can it happen that there is not meta tag at all within a
flexform? Should this case be allowed at all?
Greets,
Franz
More information about the TYPO3-team-core
mailing list