[
https://issues.apache.org/jira/browse/OFBIZ-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511373
]
Jacopo Cappellato commented on OFBIZ-1133:
------------------------------------------
Yeah,
I've noticed this too.
To all: do you know if there is a quick way to escape special characters in
Javascript?
> 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.