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

Jacopo Cappellato closed OFBIZ-1224.
------------------------------------

    Resolution: Fixed

The errors are now fixed in rev. 589525: however the EditCommEvent form really 
needs to be refactored/rewritten.

> "Add Work Effort Communication Event" is broken after r571303 - "first pass 
> of communication event UI cleanup"
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1224
>             Project: OFBiz
>          Issue Type: Bug
>          Components: workeffort
>    Affects Versions: SVN trunk
>            Reporter: Bilgin Ibryam
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>
>      [java] 2007-09-04 13:32:47,852 (http-0.0.0.0-8443-Processor3) [     
> RequestHandler.java:239:INFO ] [Processing Request]: ListWorkEffortCommEvents 
> sessionId=E5D2F0597F1523664B6747F04605331C.jvm1
>      [java] 2007-09-04 13:32:47,853 (http-0.0.0.0-8443-Processor3) [     
> RequestManager.java:116:INFO ] [RequestManager.getRequestAttribute] Value for 
> attribute "null" of uri "ListWorkEffortCommEvents" not found
>      [java] 2007-09-04 13:32:47,854 (http-0.0.0.0-8443-Processor3) [     
> RequestHandler.java:427:INFO ] [RequestHandler.doRequest]: Response is a 
> view. sessionId=E5D2F0597F1523664B6747F04605331C.jvm1
>      [java] 2007-09-04 13:32:47,855 (http-0.0.0.0-8443-Processor3) [     
> RequestHandler.java:576:INFO ] servletName=control, 
> view=ListWorkEffortCommEvents sessionId=E5D2F0597F1523664B6747F04605331C.jvm1
>      [java] 2007-09-04 13:32:47,880 (http-0.0.0.0-8443-Processor3) [      
> ScreenFactory.java:118:INFO ] Got 28 screens in 0.023s from: 
> file:/home/bibryam/workspace/ofbiz-trunk/applications/workeffort/widget/WorkEffortScreens.xml
>      [java] 2007-09-04 13:32:47,911 (http-0.0.0.0-8443-Processor3) [      
> ScreenFactory.java:118:INFO ] Got 7 screens in 0.029s from: 
> file:/home/bibryam/workspace/ofbiz-trunk/applications/workeffort/widget/CommonScreens.xml
>      [java] 2007-09-04 13:32:47,927 (http-0.0.0.0-8443-Processor3) [      
> ScreenFactory.java:118:INFO ] Got 14 screens in 0.014s from: 
> file:/home/bibryam/workspace/ofbiz-trunk/framework/common/widget/CommonScreens.xml
>      [java] 2007-09-04 13:32:47,969 (http-0.0.0.0-8443-Processor3) [  
> ModelScreenWidget.java:360:INFO ] In the include-screen tag the screen name 
> was empty, ignoring include; in screen [GlobalDecorator]
>      [java] 2007-09-04 13:32:48,102 (http-0.0.0.0-8443-Processor3) [          
> ModelForm.java:1225:INFO ] preparePager: low - high = 0 - 100
>      [java] 2007-09-04 13:32:48,103 (http-0.0.0.0-8443-Processor3) [          
> ModelForm.java:1242:INFO ] preparePager: Found rows = 3
>      [java] 2007-09-04 13:32:48,110 (http-0.0.0.0-8443-Processor3) [   
> PrimaryKeyFinder.java:124:INFO ] Returning null because found incomplete 
> primary key in find: [GenericEntity:StatusItem][statusId,null()]
>      [java] 2007-09-04 13:32:48,116 (http-0.0.0.0-8443-Processor3) [     
> ModelFormField.java:1089:ERROR]
>      [java] ---- exception report 
> ----------------------------------------------------------
>      [java] Error evaluating BeanShell use-when condition 
> [communicationEvent!=null&&!communicationEvent.getString("statusId").equals("COM_ENTERED")]
>  on the field communicationEventTypeId of form AddWorkEffortCommEvent: 
> Sourced file: inline evaluation of: 
> ``communicationEvent!=null&&!communicationEvent.getString("statusId").equals("COM_
>  . . . '' : Attempt to resolve method: getString() on undefined variable or 
> class name: communicationEvent : at Line: 1 : in file: inline evaluation of: 
> ``communicationEvent!=null&&!communicationEvent.getString("statusId").equals("COM_
>  . . . '' : communicationEvent .getString ( "statusId" )
>      [java] Exception: bsh.EvalError
>      [java] Message: Sourced file: inline evaluation of: 
> ``communicationEvent!=null&&!communicationEvent.getString("statusId").equals("COM_
>  . . . '' : Attempt to resolve method: getString() on undefined variable or 
> class name: communicationEvent
>      [java] ---- stack trace 
> ---------------------------------------------------------------
>      [java] Sourced file: inline evaluation of: 
> ``communicationEvent!=null&&!communicationEvent.getString("statusId").equals("COM_
>  . . . '' : Attempt to resolve method: getString() on undefined variable or 
> class name: communicationEvent : at Line: 1 : in file: inline evaluation of: 
> ``communicationEvent!=null&&!communicationEvent.getString("statusId").equals("COM_
>  . . . '' : communicationEvent .getString ( "statusId" )
>      [java] bsh.UtilEvalError.toEvalError(Unknown Source)
>      [java] bsh.UtilEvalError.toEvalError(Unknown Source)
>      [java] bsh.BSHMethodInvocation.eval(Unknown Source)
>      [java] bsh.BSHPrimarySuffix.doSuffix(Unknown Source)
>      [java] bsh.BSHPrimaryExpression.eval(Unknown Source)
>      [java] bsh.BSHPrimaryExpression.eval(Unknown Source)
>      [java] bsh.BSHUnaryExpression.eval(Unknown Source)
>      [java] bsh.BSHBinaryExpression.eval(Unknown Source)
>      [java] bsh.Interpreter.evalParsedScript(Unknown Source)
>      [java] bsh.Interpreter.eval(Unknown Source)

-- 
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