You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2006/09/11 08:30:27 UTC

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

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