Bug #22007

In a flexform extension, any "special characters" (UTF-8 characters) will throw an error

Added by Andrei Eftimie over 9 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-01-22
Due date:
% Done:

0%

TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

While having a flexform extension, adding any "special" charcaters in any field, Typo3 fails to save and throws this error:

t3lib_error_Exception

PHP Catchable Fatal Error: Argument 2 passed to t3lib_div::array_merge_recursive_overrule() must be an array, string given, called in /home/prosjadm/public_html/NLE/t3lib/class.t3lib_tcemain.php on line 1839 and defined in /home/prosjadm/public_html/NLE/t3lib/class.t3lib_div.php line 1968

This is the same bug as http://bugs.typo3.org/view.php?id=9621 , but I couldn't reopen it.

I would be happy to provide the extension used, and a testcase.
(will update this info a bit later)

It probably has something with the generated XML, but I'm not sure.

(issue imported from #M13324)


Related issues

Duplicates TYPO3 Core - Bug #22240: saving umlauts to flexforms doesn't work with iso-8859-1 Closed 2010-03-05
Duplicated by TYPO3 Core - Bug #22698: Problems with xml parser and special chars by using ISO-8859-1 charset Closed 2010-05-22

History

#1 Updated by Andrei Eftimie over 9 years ago

Well, I found a fix browsing trough some old IRC discussion.

Force BE to use utf-8 like this:
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';

Bug can be closed.
(It would be good to document this somewhere)

#2 Updated by Chris topher over 9 years ago

Closed as requested.

For further discussion please see #22240.

#3 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF