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 #2

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from New to Needs Feedback

Is this issue still reproducible? It seems not reproducible on TYPO3 version 8.7.12 with the latest Powermail version (5.5.0).

Actions #3

Updated by Benni Mack over 6 years ago

  • Status changed from Needs Feedback to Closed

I fixed this recently in v8 and v9

Actions

Also available in: Atom PDF