Localized values are not retrieved from LocalizedMaps (through 
BasicVariableMapper).
------------------------------------------------------------------------------------

                 Key: OFBIZ-2148
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2148
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
         Environment: any
            Reporter: Karim Rahimpur
             Fix For: SVN trunk


*BasicVariableMapper* (from org.ofbiz.base.util.string.UelUtil) defines the 
method _resolveVariable(...)_ which retrieves the value for a given variable 
from the associated map _variables_.

Even if _variables_ is a LocalizedMap and a value for a given locale is 
available, resolveVariable does not return the localized value as it fails to 
check that case.

This results e.g. in descriptions for drop down options showing up only with 
their original description and not with those defined in the *EntityLabels.xml 
files:

See [https://127.0.0.1:8443/ordermgr/control/FindRequest] or 
[https://demo.hotwaxmedia.com/ordermgr/control/FindRequest] the options for 
Status Id in any language that offers translations for the request type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to