[
https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056917#comment-13056917
]
Paul Foxworthy commented on OFBIZ-4270:
---------------------------------------
Hi Scott,
Geo is a very general thing, not just for postal addresses. Some Ofbiz users
might use provinces for a regional breakdown of marketing data and regional
sales campaigns. Who knows? Provided the Ofbiz community is willing to maintain
the Geo seed data, and we take reasonable care compiling it, there is no harm
in having detail in the Geo data that's not needed for postal addresses.
Geo is also a very simple entity, and I don't think it's right to add an
attribute that is only relevant to Geos of type COUNTRY.
I think GeoWithRegions is a starting point for an entity to describe the rules
for a valid postal address. As well as whether a given country uses regions in
their postal addresses, there are other issues such as:
* Where should the postcode/zip code be placed in the address?
* What format should a valid postcode have?
For data entry, we could define a view that brings together each Geo of type
COUNTRY and its associated GeoWithRegions, if one exists. That would give the
effect of the Geo with an additional field (i.e. what you've suggested) in a
more general and extensible way.
Cheers
Paul Foxworthy
> State dropdown only finds states and does not include county information
> ------------------------------------------------------------------------
>
> Key: OFBIZ-4270
> URL: https://issues.apache.org/jira/browse/OFBIZ-4270
> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/ecommerce
> Affects Versions: SVN trunk
> Reporter: Sam Hamilton
> Assignee: Sascha Rodekamp
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: OFBIZ-4270-DependentDropdown.patch,
> OFBIZ-4270-DependentDropdown.patch
>
>
> If you are on this page
> https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/newcustomer select
> USA from the country drop down and it will display all the USA states,
> similarly it works just fine for Spain but if you try once again with either
> United Kingdom or France it will show "No States/Provinces exist".
> Both UK and France have Counties saved in the datamodel but the form does not
> lookup in the correct location as they are not defined as State.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira