You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2012/11/12 16:39:12 UTC

[jira] [Updated] (OFBIZ-5071) ProjectMgr : list project's company, error on form to resolve currency

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

Nicolas Malin updated OFBIZ-5071:
---------------------------------

    Attachment: OFBIZ-5071.patch

To solve this issue, I change bsh script to groovy script.

After the patch application, on the same page, the currency appears near "Your Company Name Here [Company]"
                
> 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
>            Priority: Trivial
>         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