[jira] Commented: (OFBIZ-230) Problems in virtual product's detail page if productFeatureTypeId contain non alfa characters.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-230) Problems in virtual product's detail page if productFeatureTypeId contain non alfa characters.

Nicolas Malin (Jira)

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

Jacopo Cappellato commented on OFBIZ-230:
-----------------------------------------

Jacques,

thanks for looking at this; interesting... even if I am not completely sure I like this solution: it will definitely fix the issue with JavaScript but it is probably a bit hacky :-)



> Problems in virtual product's detail page if productFeatureTypeId contain non alfa characters.
> ----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-230
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-230
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, order
>            Reporter: Jacopo Cappellato
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk, Release Branch 4.0
>
>
> In productdetail page (both in ecommerce and ordermgr applications) for virtual products, select-boxes are dynamically built to allow features' selection.
> JavaScript functions are used to populate the select-boxes with the allowed options.
> Some of the JavaScript functions' names are built using the productFeatureTypeId code.
> The problem is that, if the productFeatureTypeId field contains characters such as '-' (for example 'SIZE-A') the Javascript functions are built with invalid names (such as 'listSIZE-A()').
> As a consequence, no options are shown in the select-boxes.

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