[jira] [Created] (OFBIZ-4258) Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list

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

[jira] [Created] (OFBIZ-4258) Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list

Nicolas Malin (Jira)
Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list
-----------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-4258
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4258
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Leon
            Priority: Trivial
             Fix For: SVN trunk


In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.

==to fix==:
In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4258) Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list

Nicolas Malin (Jira)

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

Leon updated OFBIZ-4258:
------------------------

    Attachment: CommonWorkers_municipality.patch

The patch to CommonWorkers.java, to display municipalities of china in dropdown state list.

> Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4258
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4258
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Trivial
>              Labels: ofbiz
>             Fix For: SVN trunk
>
>         Attachments: CommonWorkers_municipality.patch
>
>
> In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
> ==to fix==:
> In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4258) Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Leon updated OFBIZ-4258:
------------------------

    Attachment: GeoData_CN.patch

fix some problem in current GeoData_CN.xml

> Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4258
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4258
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Trivial
>              Labels: ofbiz
>             Fix For: SVN trunk
>
>         Attachments: CommonWorkers_municipality.patch, GeoData_CN.patch
>
>
> In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
> ==to fix==:
> In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4258) Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Leon commented on OFBIZ-4258:
-----------------------------

Also change the geoTypeId from "REGIONS" to "MUNICIPALITY" for some "Autonomous regions" and "Special administrative Regions" and add some missing country-state associations.

It's better to add new geo types for "Autonomous regions" or "Special Administrative Regions", but I don't want to make the thing complex if there's no such strong demand.

> Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4258
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4258
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Priority: Trivial
>              Labels: ofbiz
>             Fix For: SVN trunk
>
>         Attachments: CommonWorkers_municipality.patch, GeoData_CN.patch
>
>
> In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
> ==to fix==:
> In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4258) Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-4258.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Leon,

Your patch is in trunk at r1094505  


> Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4258
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4258
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>              Labels: ofbiz
>             Fix For: SVN trunk
>
>         Attachments: CommonWorkers_municipality.patch, GeoData_CN.patch
>
>
> In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
> ==to fix==:
> In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira