State dropdown only finds states and does not include country 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 Priority: Minor 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 |
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Hamilton updated OFBIZ-4270: -------------------------------- Summary: State dropdown only finds states and does not include county information (was: State dropdown only finds states and does not include country information) > 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 > Priority: Minor > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028303#comment-13028303 ] Sascha Rodekamp commented on OFBIZ-4270: ---------------------------------------- Hi Sam, that sounds strange. I'll check that. Thanks for reporting ;) have a good day. Sascha > 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 > Priority: Minor > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp reassigned OFBIZ-4270: -------------------------------------- Assignee: Sascha Rodekamp > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028357#comment-13028357 ] Jacques Le Roux commented on OFBIZ-4270: ---------------------------------------- Hi Sam, Sascha, I don't know for UK but in France we don't need this information. For addresses we use only the road and it's number (or alike) = address1, possibly some other information = address2 (like Postal Box, etc.), the Postal Code, and finally the City (with some specificities like Cedex, etc.), the country is not used in France but of course needed for international mails. So we never need other information (like COUNTY, COUNTY_CITY, REGION or even COUNTY_SEAT) > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028541#comment-13028541 ] Sam Hamilton commented on OFBIZ-4270: ------------------------------------- Hi Jacques - its not needed per say as long a you capture the post code but its one of those fields that people feel better to fill in just because they are used to and it gives them reassurance the package will be delivered. This issue also affects Ireland as well as their county data is also been added in the same way UK, FR and IE https://demo-trunk.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=Geo&find=true&geoTypeId=COUNTY&searchOptions_collapsed=true&VIEW_SIZE=200&VIEW_INDEX=0 vs USA, Mexico, etc https://demo-trunk.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=Geo&find=true&geoTypeId=STATE&searchOptions_collapsed=true&VIEW_SIZE=200&VIEW_INDEX=0 > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028640#comment-13028640 ] Sascha Rodekamp commented on OFBIZ-4270: ---------------------------------------- Hey Jacques, hey Sam ok it's not a technical problem. I think we could simply include the regions of the countries by extending the entity condition but should we do this? I think of the usability, if this change could confuse people. Otherwise for can't be bad to get as much information from a person as possible ;) So any suggestions how we go one here? > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028670#comment-13028670 ] Sam Hamilton commented on OFBIZ-4270: ------------------------------------- Hi Sascha & Jacques Purely from a British view point, the page does not work as expected as we would expect to be able to select a county. Perhaps if its more normal for French signup pages not to have a county box then perhaps the fix should be in two parts a) include all counties as well and b) add an option to hide the county box if you dont want/dont need it for your country when that country is selected from the above drop down? Sam > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028671#comment-13028671 ] Sascha Rodekamp commented on OFBIZ-4270: ---------------------------------------- Hi Sam, yes why not, sounds good to me. Jacques what do you think? > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028672#comment-13028672 ] Jacques Le Roux commented on OFBIZ-4270: ---------------------------------------- Yes I agree, sounds like the better solution > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028675#comment-13028675 ] Sascha Rodekamp commented on OFBIZ-4270: ---------------------------------------- Greate, Sam do you have already implemented this :-)? Otherwise i'll take the task. > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028678#comment-13028678 ] Sam Hamilton commented on OFBIZ-4270: ------------------------------------- No sorry beyond my skill level for now! Still learning the basics of java and groovy. Thanks Sam > 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 > > 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp updated OFBIZ-4270: ----------------------------------- Attachment: OFBIZ-4270-DependentDropdown.patch Hi Jacques, Hi Sam, i modified the getAssociatedStateList method. To recursively get all provinces. It would be great if you check the result. When we want to hide the country box for specified countries, the developer has to define a list of these countries in the screens which could be interpreted when the country is changed. Not sure if this is an good idea. Any suggestions? > 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030357#comment-13030357 ] Jacques Le Roux commented on OFBIZ-4270: ---------------------------------------- It works for France (unwanted) but not for UK (wanted), I guess UK geo miss the relations. BTW I think we should rather have a list of countries which need the state fields: there are much more countries where it's not needed... Then this field will be hidden in most cases... I think we should define a new geo entity for this list: CountryWithStates: with OOTB Australia, Canada, UK, US, ... what else? > 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031009#comment-13031009 ] Paul Foxworthy commented on OFBIZ-4270: --------------------------------------- It is standard to include the county in postal addresses for Ireland. The Universal Postal Union has gathered and published standards for postal addresses for most places in the world. You can download a PDF document for a country of interest from <a href="http://www.upu.int/en/activities/addressing/postal-addressing-systems-in-member-countries.html">http://www.upu.int/en/activities/addressing/postal-addressing-systems-in-member-countries.html</a> The UPU nomenclature uses the word "region" rather than other words like state, province, department or county. So I suggest CountryWithRegion. "CountryPostalAddressRequiresRegion" is more accurate but perhaps long-winded. Should it be a new geo entity or an attribute on the existing Geo entity that is true for some Geos with a Geo type of country? > 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031046#comment-13031046 ] Jacques Le Roux commented on OFBIZ-4270: ---------------------------------------- Paul, I think your idea is better, a simple Geo entity CountryWithRegion boolean field should be enough. Could you provide a patch? > 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031524#comment-13031524 ] Paul Foxworthy commented on OFBIZ-4270: --------------------------------------- On reflection, I think *your* idea is better! Geo is a very simple entity, and I'm uncomfortable adding an attribute that is only relevant to Geos of type COUNTRY. Your original idea would keep the Geo entity simple. Is there another entity trying to emerge, which is not just about which countries use regions in their postal addresses, but also what else makes a valid postal address. Such as: - Where should the postcode/zip code be placed in the address? - What format should a valid postcode have? BJ suggested an entity to validate postal addresses in https://issues.apache.org/jira/browse/OFBIZ-100. I would suggest PostalAddressFormat as a name. See also https://issues.apache.org/jira/browse/OFBIZ-203. For data entry, we could define a view that brings together each Geo of type COUNTRY and its associated PostalAddressFormat, if one exists. That would give the effect of the Geo with the boolean flag in a more general and extensible 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037775#comment-13037775 ] Sascha Rodekamp commented on OFBIZ-4270: ---------------------------------------- hi Paul, that sounds good. Could you upload a patch for your proposal? > 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044872#comment-13044872 ] Sascha Rodekamp commented on OFBIZ-4270: ---------------------------------------- Hey Jacques, i had a second look to this issue. The Reason why we doesn't get the state List for UK is, that UK is defined as "GroupMember" so we haven't a connection to our Regions. It works great when you try (i.e.) England. So we should discuss what happen to those which have GroupMember GeoAssocTypeId. For the second issue i simply created a new entity "CountryWithStates" with the fields GeoId and a boolean ShowStateList. So i did as you suggested. What do you think? Have a nice day Sascha > 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 > Attachments: 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 |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045065#comment-13045065 ] Jacques Le Roux commented on OFBIZ-4270: ---------------------------------------- Hi Sascha, # Good catch, then we should get the regions recursively I guess (quick answer, no looks in details) # Yes that sounds good to me, but rather CountryWithRegions then. > 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 > Attachments: 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 |
Free forum by Nabble | Edit this page |