[ https://issues.apache.org/jira/browse/OFBIZ-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511471 ]
Daniel MartÃnez commented on OFBIZ-1133: ---------------------------------------- I fixed this for a custom development. The solution was to substitute the quotes with another character (I used "|") in the lookup form (through a service) and then modifying the javascript (set_multivalues) to substitute back the "|" characters by the correct apostrophe. Of course I would not use this solution for ofbiz. > Unescaped quotes break lookup screens functionality > --------------------------------------------------- > > Key: OFBIZ-1133 > URL: https://issues.apache.org/jira/browse/OFBIZ-1133 > Project: OFBiz > Issue Type: Bug > Affects Versions: SVN trunk, Release Branch 4.0 > Reporter: Oleg Andreyev > Priority: Minor > Fix For: SVN trunk > > > Example, it's impossible to select product in LookupProductAndPrice (used in > EditQuoteItem) if product internal name contains quotas or apostrophe. The > reason is obvious. The script "javascript:set_values('10112', 'Test product - > Monitor 17", gray')" has error, unnecessary quote. I think the problem is > common. > Simple solution is to remove second parameter. There is no field internalName > in opener form. But it's feckless way. > Have anybody suggestion how rightly correct this problem? Modify > HtmlFormRenderer? > Please explain me why we don't store escaped string in database. This is > generally accepted solution. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.