Project

General

Profile

Actions

Bug #68062

closed

Exception on AJAX-call for "Localize all records" in a translated record

Added by Stefan Neufeind over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-07-12
Due date:
% Done:

0%

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

Description

When I'm in a translated record (here: a powermail-form) and click on "Localize all records" to translate inline-records (here: pages and fields of the form) I get a Error 500 from the server, in return to an AJAX-call.

The raw result shows:
Exception
#1: PHP Warning: Invalid argument supplied for foreach() in /var/www/typo3_src-git/typo3/sysext/backend/Classes/Form/FormEngine.php line 1274

Which is in the context of required fields, it seems:
01272: $out = '';
01273: // Required:
01274: foreach ($this->requiredFields as $itemImgName => $itemName) {
01275: $match = array();
01276: if (preg_match('/^(.+)\\[((\\w|\\d|_)+)\\]$/', $itemName, $match)) {


Files

localize_all_records.png (64.9 KB) localize_all_records.png Form with JS-popup-error Stefan Neufeind, 2015-07-12 16:09
Actions

Also available in: Atom PDF