Details
-
Bug
-
Resolution: Invalid
-
High
-
5.1
-
None
Description
[Tue May 21 19:31:19 2013] [error] [client 107.23.129.198] PHP Warning: DOMDocument::loadXML(): Start tag expected, '<' not found in Entity, line: 1 in /var/www/html/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/XmlText/Type.php on line 186
[Tue May 21 19:31:19 2013] [error] [client 107.23.129.198] PHP Fatal error: Call to a member function hasChildNodes() on a non-object in /var/www/html/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/XmlText/Type.php on line 123
This is the request to REST server:
POST /api/ezp/v2/content/objects HTTP/1.1
Authorization:
Basic YWRtaW46MTIzNA==
Host:
api.demo.ez.no
Content-Length:
1061
X-Target-URI:
Accept:
application/vnd.ez.api.Content+json
Content-Type:
application/vnd.ez.api.ContentCreate+json
Connection:
Keep-Alive
{
"ContentCreate": {
"ContentType":
,
"mainLanguageCode": "eng-GB",
"LocationCreate": {
"ParentLocation":
,
"priority": "0",
"hidden": "false",
"sortField": "PATH",
"sortOrder": "ASC"
},
"Section":
,
"alwaysAvailable": "true",
"remoteId": "remoteId12345678",
"fields": {
"field": [
,
{ "fieldDefinitionIdentifier": "short_description", "languageCode": "eng-GB", "fieldValue": "This is a short description" } ]
}
}
}