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

Adrian Crum commented on OFBIZ-4270:
------------------------------------

Sascha,

Having duplicate relationships with different types is possible. Example: In 
the US, a city is a member of a county, but a city could also be the county 
seat (county capitol). So, there would be two relationships from the county to 
the city - but with different types (county member and county seat). The same 
thing is true with a US state and a city: a city is a member of a state, but a 
city could also be a state capitol. So, there would be two relationships from 
the state to the city - but with different types (state member and state 
capitol).

In The Data Model Resource Book, what is being modeled are geographic 
boundaries. The book describes how a member Geo doesn't have to be physically 
located inside its parent Geo - it can be an abstract boundary like a sales or 
service territory. In those cases the relationship is more like a role than a 
physical relationship.

So, we can use the association type to define Geo roles (as above). Or we could 
have a Geo role relationship entity - to model things like colonies and 
territories that are outside a geographic boundary but are still related in 
some way.


> 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

        

Reply via email to