You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/01/09 11:43:34 UTC
[jira] [Comment Edited] (OFBIZ-5933) state/province dropdown
contains incorrect items when Canada is chosen in country dropdown
[ https://issues.apache.org/jira/browse/OFBIZ-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270858#comment-14270858 ]
Jacques Le Roux edited comment on OFBIZ-5933 at 1/9/15 10:43 AM:
-----------------------------------------------------------------
This is due to old labels in CommonEntityLabels.xml like
<property key="Geo.geoName.ON">
Should be
{code}
Index: framework/common/config/CommonEntityLabels.xml
===================================================================
--- framework/common/config/CommonEntityLabels.xml (revision 1650460)
+++ framework/common/config/CommonEntityLabels.xml (working copy)
@@ -6939,7 +6939,7 @@
<value xml:lang="zh_TW">阿曼</value>
</property>
<property key="Geo.geoName.ON">
- <value xml:lang="en">ON</value>
+ <value xml:lang="en">Ontario</value>
<value xml:lang="fr">Ontario</value>
<value xml:lang="it">Ontario</value>
<value xml:lang="ja">オンタリオ</value>
{code}
Could you please provide a complete patch?
was (Author: jacques.le.roux):
This is due to old labels in CommonEntityLabels.xml like
<property key="Geo.geoName.ON">
Should be
{code}
Index: framework/common/config/CommonEntityLabels.xml
===================================================================
--- framework/common/config/CommonEntityLabels.xml (revision 1650460)
+++ framework/common/config/CommonEntityLabels.xml (working copy)
@@ -6939,7 +6939,7 @@
<value xml:lang="zh_TW">阿曼</value>
</property>
<property key="Geo.geoName.ON">
- <value xml:lang="en">ON</value>
+ <value xml:lang="en">Ontario</value>
<value xml:lang="fr">Ontario</value>
<value xml:lang="it">Ontario</value>
<value xml:lang="ja">オンタリオ</value>
{code}
Could you please provide a complete patch?
> state/province dropdown contains incorrect items when Canada is chosen in country dropdown
> ------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5933
> URL: https://issues.apache.org/jira/browse/OFBIZ-5933
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Wai
> Assignee: Jacques Le Roux
>
> When creating a postal address, selecting Canada for country automatically filled the state/province dropdown with values. The issue is that the values of the state/province dropdown list are incorrect.
> I was expecting the options for the state/province dropdown to have the following:
> name=Alberta, value=AB
> name=British Columbia, value=BC
> ...
> What is actually present in the drop down is:
> name=AB, value=AB
> name=AB, value=BC
> ...
> One observation is that this issue does not appear when the country selected is the United States. It seems to happen with Canada.
> Another observation is that this issue applies to the 'en' locale. It seems to work fine for 'fr' locale.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)