[ 
https://issues.apache.org/jira/browse/OFBIZ-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673301#action_12673301
 ] 

David E. Jones commented on OFBIZ-2189:
---------------------------------------

Yes, this patch basically disables the check in many situations and must not be 
committed.

In general framework changes for isolated cases is a sign of the framework not 
being used correctly, and as Markus said this is just an issue with that 
particular instance and we don't want to change the default behavior of 
checking for HTML, we just want to change the config on the one service to 
allow HTML.

In this case it should be allow-html="any" because the incoming text is not 
HTML, it is XML and is validated separately, so HTML checking is not needed and 
doesn't make sense.

> 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
>
>   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