[
https://issues.apache.org/jira/browse/OFBIZ-10848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16845865#comment-16845865 ]
Pawan Verma commented on OFBIZ-10848:
-------------------------------------
Before r1847478 flow was, modelParam used to get from multiPartMap and if it is empty(which we found) and if the service modelParam has allow-html="any" then get this directly from the request otherwise get it from parameters Map.
After the r1847478 flow is, we got modelParam from parameters Map and if it is empty(which is not) and if the service modelParam has allow-html="any" then get this from the request. The issue here is the case of allow-html="any" never gets executed that's why we get reported issue.
My suggestion would be if we have allow-html="any" for modelParam we should get if from request otherwise from parameters Map.
Attached patch. Thanks!
> XML import fails when xml data contains special symbols
> -------------------------------------------------------
>
> Key: OFBIZ-10848
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10848> Project: OFBiz
> Issue Type: Bug
> Components: framework/webtools
> Reporter: Lalit Dashora
> Assignee: Pawan Verma
> Priority: Major
> Attachments: OFBIZ-10848.patch
>
>
> Instance:
https://demo-trunk.ofbiz.apache.org/webtools/control/entityImport> Not able to import data which contains special symbols like & (&).
> {code:java}
> <Product longDescription="A small round gizmo with multi-colored lights. Works great in the dark. Small & compact." productId="GZ-2644" />
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)