[jira] [Reopened] (OFBIZ-6054) ofbizsetup cannot create first customer. problem with state/province dropdown

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

[jira] [Reopened] (OFBIZ-6054) ofbizsetup cannot create first customer. problem with state/province dropdown

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wai reopened OFBIZ-6054:
------------------------

I should have been more clear about the reported issue.
The database had been loaded with seed ,and seed-initial data.
in https://localhost:8443/ofbizsetup
I had already created the following:
party for the enterprise
associated facility
associated product store
associated website

The issue surfaces when I'm trying to create the 1st customer.
In this form, the province/state dropdown was not auto-filled when the country dropdown is used.

On further investigation, the origin of the issue comes from the initial data for configuring the javascript, in common/webcommon/includes/setDependentDropdownValuesJs.ftl, to be used with the forms NewCustomer and NewUser.  Where NewCustomer subclasses NewUser.

Since the dropdowns in question are defined in NewUser (which uses a difference prefix label for its controls then NewCustomer), the configured data for the javascript code failed to identify the appropriate dropdown controls in NewUser.


> ofbizsetup cannot create first customer. problem with state/province dropdown
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-6054
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6054
>             Project: OFBiz
>          Issue Type: Bug
>          Components: commonext/setup
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Jacques Le Roux
>
> -use empty database.
> -go to url. https://localhost:8443/ofbizsetup/control/firstcustomer
> notice that when entering the postal address, the state/province dropdown is empty and remains empty regardless of selection of the country dropdown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)