Actions
Bug #35170
closedFlexform cannot be rendered for non admins in 4.5.13
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-03-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
After the changes made in #29019 (TYPO3 4.5.13) a non admin user cannot access the flexform field in a powermail_field record anymore, because it wouldn't be rendered. maybe this affects other flexforms too, that's why i posted it here as a core issue.
the critical change was made in t3lib/class.t3lib_tceforms.php:
2488 $dataStructArray = $flexFormHelper->modifyFlexFormDS($dataStructArray, $table, $field, $row, $PA['fieldConf']['config']);
to
2488 $dataStructArray = $flexFormHelper->modifyFlexFormDS($dataStructArray, $table, $field, $row, $PA['fieldConf']);
Powermail's tca for powermail_field looks like this:
typo3conf/ext/powermail/tca.php:
377 'flexform' => array ( 378 'exclude' => 1, 379 'label' => 'LLL:EXT:powermail/locallang_db.xml:tx_powermail_fields.field', 380 'config' => array ( 381 'type' => 'flex', 382 'ds_pointerField' => 'formtype', 383 'ds' => array( 384 'default' => 'FILE:EXT:powermail/lib/def/def_field_error.xml', 385 'button' => 'FILE:EXT:powermail/lib/def/def_field_button.xml', 386 'captcha' => 'FILE:EXT:powermail/lib/def/def_field_captcha.xml', 387 'check' => 'FILE:EXT:powermail/lib/def/def_field_check.xml', 388 'content' => 'FILE:EXT:powermail/lib/def/def_field_content.xml', 389 'countryselect' => 'FILE:EXT:powermail/lib/def/def_field_countryselect.xml', 390 'date' => 'FILE:EXT:powermail/lib/def/def_field_date.xml', 391 'datetime' => 'FILE:EXT:powermail/lib/def/def_field_datetime.xml', 392 'file' => 'FILE:EXT:powermail/lib/def/def_field_file.xml', 393 'hidden' => 'FILE:EXT:powermail/lib/def/def_field_hidden.xml', 394 'html' => 'FILE:EXT:powermail/lib/def/def_field_html.xml', 395 'label' => 'FILE:EXT:powermail/lib/def/def_field_label.xml', 396 'password' => 'FILE:EXT:powermail/lib/def/def_field_password.xml', 397 'radio' => 'FILE:EXT:powermail/lib/def/def_field_radio.xml', 398 'reset' => 'FILE:EXT:powermail/lib/def/def_field_reset.xml', 399 'select' => 'FILE:EXT:powermail/lib/def/def_field_select.xml', 400 'submit' => 'FILE:EXT:powermail/lib/def/def_field_submit.xml', 401 'submitgraphic' => 'FILE:EXT:powermail/lib/def/def_field_submitgraphic.xml', 402 'text' => 'FILE:EXT:powermail/lib/def/def_field_text.xml', 403 'textarea' => 'FILE:EXT:powermail/lib/def/def_field_textarea.xml', 404 'typoscript' => 'FILE:EXT:powermail/lib/def/def_field_typoscript.xml', 405 ), 406 ) 407 ),
So obviously the config wont be read anymore at all. i'm not sure whether it's a powermail or a core issue ;-/
Actions