Content->Fields->New->Type=List
Add values to List Values
Text
Value
Manuel Gómez Padilla
Manuel Gómez Padilla
Victor Rico
Victor Rico
Fields in edit article
Warning: SimpleXMLElement::__construct(): Entity: line 2: parser error : Entity 'oacute' not defined in /j7/libraries/joomla/form/form.php on line 72
Warning: SimpleXMLElement::__construct(): le="1" validate="options"><option value="Manuel Gómez Padilla">Manuel Gó in /j7/libraries/joomla/form/form.php on line 729
Warning: SimpleXMLElement::__construct(): ^ in /j7/libraries/joomla/form/form.php on line 729
Database Version 5.7.17-0ubuntu0.16.04.1
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.0.15-0ubuntu0.16.04.4
Web Server Apache/2.4.18 (Ubuntu)
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.7.0-rc2 Release Candidate [ Amani ] 12-April-2017 08:18 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/57.0.2987.98 Chrome/57.0.2987.98 Safari/537.36
In Fields when I add a text with accents in the list of values in the article edition the fields doesn't show because there is a problem with simpleXML.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-13 15:57:55 |
Closed_By | ⇒ | brianteeman |
Same problem with checkbox fields
Status | Closed | ⇒ | New |
Closed_Date | 2017-04-13 15:57:55 | ⇒ | |
Closed_By | brianteeman | ⇒ |
Looks like XML string needs to be decoded.
If you change line 728 in file libraries/joomla/form/form.php from
$data = new SimpleXMLElement($data);
to
$data = new SimpleXMLElement(html_entity_decode($data, ENT_QUOTES, "utf-8"));
warning is gone.
Done.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-13 20:28:23 |
Closed_By | ⇒ | zero-24 |
i can confirm this issue on list fields