?
avatar Quy
Quy
14 Mar 2017

Steps to reproduce the issue

Create a List type field.
Add R&B for a list value.
Save and close.
Edit an article to see the following warning:

Warning: DOMElement::__construct(): unterminated entity reference B in C:\xampp\htdocs\joomla-cms-staging\administrator\components\com_fields\libraries\fieldslistplugin.php on line 44

Warning: FieldsListPlugin::onCustomFieldsPrepareDom(): unterminated entity reference B in C:\xampp\htdocs\joomla-cms-staging\administrator\components\com_fields\libraries\fieldslistplugin.php on line 45
avatar Quy Quy - open - 14 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Mar 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Mar 2017

@Quy what is R&B?

avatar Quy
Quy - comment - 14 Mar 2017

R&B stands for Rhythm And Blues. It is only an example. It appears that the & is the culprit for the warning.

avatar Quy Quy - edited - 14 Mar 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Mar 2017

Confirmed:
bildschirmfoto 2017-03-14 um 15 41 53

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Mar 2017

@Quy can you please append in front of Title: [com_fields] – thanks.

avatar Quy Quy - change - 14 Mar 2017
Title
Unterminated entity reference warning with List type field
& causes unterminated entity reference warning with List type field
avatar Quy Quy - edited - 14 Mar 2017
avatar laoneo
laoneo - comment - 20 Mar 2017

Please test pr #14797 which should eliminate the error. Guess this issue can be closed.

avatar zero-24
zero-24 - comment - 20 Mar 2017

Closing as therevis a PR thanks

avatar zero-24 zero-24 - change - 20 Mar 2017
Title
& causes unterminated entity reference warning with List type field
[com_fields] & causes unterminated entity reference warning with List type field
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-20 08:52:03
Closed_By zero-24
avatar zero-24 zero-24 - close - 20 Mar 2017

Add a Comment

Login with GitHub to post a comment