[jira] Created: (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] Created: (OFBIZ-230) Problems in virtual product's detail page if productFeatureTypeId contain non alfa characters.

Nicolas Malin (Jira)
Problems in virtual product's detail page if productFeatureTypeId contain non alfa characters.
----------------------------------------------------------------------------------------------

                 Key: OFBIZ-230
                 URL: http://issues.apache.org/jira/browse/OFBIZ-230
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: ecommerce, order
            Reporter: Jacopo Cappellato
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira