Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
5.2-dev
-
None
Description
When syncing content to an eZ Publish with eZ Recommendation enabled, a DOM error is displayed in the output and breaks the sync process:
Staging request
Sent: POST /api/contentstaging/v1/content/objects/remote/c69bd4daf320a83683bdd1208aa61eae/versions/1 HTTP/1.0 Host: vm.ezpublish5.legacy.admin Connection: close Accept: application/json, text/xml; q=0.5 Authorization: Basic YWRtaW46cHVibGlzaA== User-Agent: eZ REST client Content-Type: application/json Content-Length: 2 []
Staging response
Received: HTTP/1.1 200 OK
Date: Thu, 25 Jul 2013 15:27:07 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.3.10-1ubuntu3.7
Set-Cookie: eZSESSID59b88f37a0cd75e7c15e6bd7175f7672=70ftfd185a6thqculs3kt84rs2; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: eZSESSID59b88f37a0cd75e7c15e6bd7175f7672=mlk92ntmn2s7me87vm1vi1sht1; path=/
Set-Cookie: eZSESSID59b88f37a0cd75e7c15e6bd7175f7672=hbafd9vhqbnf5no4ut30lta302; path=/
Vary: Accept-Encoding
Content-Length: 316
Connection: close
Content-Type: text/html
Catchable fatal error: Argument 1 passed to DOMNode::appendChild() must be an instance of DOMNode, boolean given, called in /home/bertrand/extensions/ezrecommendation/classes/ezrecommendationserverapi.php on line 167 and defined in /home/bertrand/extensions/ezrecommendation/classes/ezrecoxmlhandler.php on line 27