[ 
https://issues.apache.org/jira/browse/OFBIZ-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Nagar updated OFBIZ-2189:
--------------------------------

    Attachment: OFBIZ-2189.patch

This error is due to statement in line no. 487 of StringUtil.java.
If this condition "if (value.indexOf("<") >= 0 || value.indexOf("<") >= 0) {", 
is replaced by "if (value.indexOf("<") > 0 || value.indexOf(">") == 0) {" 
condition, then the error gets resolved.

I am providing the patch for this file

> Error occurs using XML-Import from webtools
> -------------------------------------------
>
>                 Key: OFBIZ-2189
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2189
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Ashish Nagar
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2189.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> While using uploading Entity Engine XML documents , error is occuring 
> [  ServiceDispatcher.java:368:ERROR] 
> ---- exception report 
> ----------------------------------------------------------
> Incoming context (in runSync : entityImport) does not match expected 
> requirements
> Exception: org.ofbiz.service.ServiceValidationException
> Message: In field [fulltext] greater-than (>) and less-than (<) symbols are 
> not allowed.
> ---- stack trace 
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceValidationException: In field [fulltext] 
> greater-than (>) and less-than (<) symbols are not allowed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to