Project

General

Profile

Actions

Bug #24154

closed

Error at TCA-Form if showitem is empty cause displayCond

Added by Arno Dudek about 14 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2010-11-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

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

Actions #2

Updated by Thorsten Kahler over 13 years ago

  • Category set to FormEngine aka TCEforms
Actions #3

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 7.1 (Cleanup)
  • Is Regression set to No
Actions #4

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #5

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #6

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #7

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Resolved

solved with the new FormEngine

Actions #8

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF