Bug #24154
closedError at TCA-Form if showitem is empty cause displayCond
0%
Description
Following form configuration makes an error:
'checkfield' => array(
…
),
'sub_checkfield_1' => array(
'displayCond' => 'FIELD:checkfield:REQ:true',
…
),
'sub_checkfield_2' => array(
'displayCond' => 'FIELD:checkfield:REQ:true',
…
),
'sub_checkfield_3' => array(
'displayCond' => 'FIELD:checkfield:REQ:true',
…
),
…
'palettes' => array(
'5' => array('showitem' => 'sub_checkfield_1, --linebreak--, sub_checkfield_2, sub_checkfield_3'),
),
PHP Warning: implode() [function.implode]: Argument must be an array in […]/typo3_4.4.dev/t3lib/class.t3lib_tceforms.php line 5108
If no --linebreak-- is set, than it works. It works also, if sub_checkfields have no displayCond.
Easy workaround:
t3lib_tceforms.php line 5108
replace: $out .= implode($iRow[$i]);
with: $out .= @implode($iRow[$i]);
lg arno
(issue imported from #M16498)
Updated by Philipp Idler over 13 years ago
- Target version deleted (
0)
this bug is present in 4.4.9 again!
creating a new fe_users results in:
implode @ class.t3lib_tceforms.php line 5108
Updated by Thorsten Kahler over 13 years ago
- Category set to FormEngine aka TCEforms
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.1 (Cleanup)
- Is Regression set to No
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber about 9 years ago
- Status changed from New to Resolved
solved with the new FormEngine
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed