Wednesday, April 6, 2016

Endeca Thesaurus : cannot be parsed as XML and not promoted to live

Behaviour :- A Business user can create a thesaurus entry using Endeca Experience Manager and newly added entry does not get promoted to ... thumbnail 1 summary
Behaviour :-

A Business user can create a thesaurus entry using Endeca Experience Manager and newly added entry does not get promoted to live environment.

IFCR logs shows following errors :-
06.04.2016 15:45:03.544 *ERROR* [PublishServiceWorker] com.endeca.ifcr.publish.impl.PublishWorker Publish failed: AuthoringDgraph com.endeca.ifcr.configService.ConfigServiceException: Config service error: exception encountered while executing external function 'eutil:parse', caused by error endeca-err:PARS0001 : '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<config-service:configTransaction xmlns:config-service="http://www.endeca.com/MDEX/config/services/config/2011">
<config-service:putConfigDocuments>
<mdex:configDocument xmlns:mdex="http://www.endeca.com/XQuery/mdex/2008" name="thesaurus">
<THESAURUS>
<THESAURUS_FORM_FROM>Shoes</THESAURUS_FORM_FROM>
<THESAURUS_FORM_TO>&#2;&#2;&#2;&#2;&#2;
&#2;&#22;&#24;
&#2;&#22;&#24;</THESAURUS_FORM_TO>
</THESAURUS_ENTRY_ONEWAY>
</THESAURUS>
</mdex:configDocument>
</config-service:putConfigDocuments>
</config-service:configTransaction>
</soap:Body>
</soap:Envelope>
' cannot be parsed as XML

        at com.endeca.ifcr.configService.impl.ConfigServiceClientImpl.sendRequest(ConfigServiceClientImpl.
        at com.endeca.ifcr.publish.impl.PublishWorker.sendDocumentsToDgraph(PublishWorker.java:400)
        at com.endeca.ifcr.publish.impl.PublishWorker.updateDgraphs(PublishWorker.java:371)
        at com.endeca.ifcr.publish.impl.PublishWorker.processUpdates(PublishWorker.java:224)
        at com.endeca.ifcr.publish.impl.PublishWorker.run(PublishWorker.java:153)



Solution:-

This issue comes if any control characters are part of thesaurus entry. Highlighted entry in the error box causes these issue.

Find out possible solutions below :-

  1. Do not put any control characters in thesaurus entry
  2. Patch is available to fix this issue

No comments

Post a Comment

Text Widget