[ http://issues.apache.org/jira/browse/OFBIZ-33?page=all ]
     
Si Chen closed OFBIZ-33:
------------------------

    Resolution: Fixed

I committed a version very similar to this in SVN 7834.  I did a null check on 
the .getRelatedOneCache(...) first because in my experience 
.getRelatedOneCache(...).get(...) inevitably would cause an NPE somewhere down 
the road.

This is a very good idea, by the way, but I think we'll need to generalize it, 
because there are so many addresses in so many places in OFBiz.  I think 
probably what we'll need is an <@ofbizPostalAddress> transform similar to 
<@ofbizCurrency> which can get these abbreviations and format them correctly 
for the locale.

> Display of State/Province for non US entities
> ---------------------------------------------
>
>          Key: OFBIZ-33
>          URL: http://issues.apache.org/jira/browse/OFBIZ-33
>      Project: The Open For Business Project
>         Type: Bug

>   Components: marketing
>     Versions: SVN trunk
>     Reporter: Andrew Yager
>     Assignee: Si Chen
>     Priority: Minor
>  Attachments: companyheader-v2.diff, companyheader-v3.diff, companyheader.diff
>
> State/Province display in addresses shows the geo-id, which is fine for US 
> entities where the GeoID is the state code, but for non-us entities, the 
> GeoID is offen something like CountryCode-StateCode, which isn't very nice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to