[ 
https://issues.apache.org/jira/browse/OFBIZ-5071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-5071.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 12.04
                   SVN trunk
         Assignee: Jacques Le Roux

Thanks Nicolas,

Your (modified) patch is in
trunk r1408408
R12.04 r1408410


Actually I did a bit more and rewrote it using safe-navigation and elvis 
operator, nice to read hèè ;)
                
> ProjectMgr : list project's company, error on form to resolve currency
> ----------------------------------------------------------------------
>
>                 Key: OFBIZ-5071
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5071
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/projectmgr
>    Affects Versions: SVN trunk, Release Branch 12.04
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk, Release Branch 12.04
>
>         Attachments: OFBIZ-5071.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> When you to 
> https://localhost:8443/projectmgr/control/projectView?projectId=9000 after 
> ant load-demo, we have a error in log :
> [java] Error running bsh script 
> [orgParty!=null&&orgParty.getString("baseCurrencyUomId")!=null?orgParty.getString("baseCurrencyUomId"):""]:
>  javax.script.ScriptException: Sourced file: inline evaluation of: 
> ``orgParty!=null&&orgParty.getString("baseCurrencyUomId")!=null?orgParty.getString
>  . . . '' : Attempt to resolve method: getString() on undefined variable or 
> class name: orgParty : at Line: 1 : in file: inline evaluation of: 
> ``orgParty!=null&&orgParty.getString("baseCurrencyUomId")!=null?orgParty.getString
>  . . . '' : orgParty .getString ( "baseCurrencyUomId" ) 
>      [java]  in inline evaluation of: 
> ``orgParty!=null&&orgParty.getString("baseCurrencyUomId")!=null?orgParty.getString
>  . . . '' at line number 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to