[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=12613084#action_12613084 ]

Jacques Le Roux commented on OFBIZ-230:
---------------------------------------

Jacopo,

In my opinion, It's no the fix wich is hacky but the code that needed it (design flaw). In general, I prefer to cut issues at the source. And I don't think it is worth to change the couple productdetail.bsh/ftl  for that : it's very specific cases... Anyway, I respect your opinion ;o)

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