ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Smits (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5052) null [null] on the field phaseName of form hoursNotYetBilled?
Date Mon, 13 Oct 2014 22:32:33 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170125#comment-14170125
] 

Pierre Smits commented on OFBIZ-5052:
-------------------------------------

I will check if the issue still exists in trunk.

> null [null] on the field phaseName of form hoursNotYetBilled?
> -------------------------------------------------------------
>
>                 Key: OFBIZ-5052
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5052
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/projectmgr
>    Affects Versions: Release Branch 12.04
>            Reporter: Dale E. Moore
>
> Using "Release-revision : release12.04-1388834" demo data DemoEmployee2 completed their
timesheet. Admin went to Billing on that project and got this error 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean:
null [null] on the field phaseName of form hoursNotYetBilled (Return value from use-when condition
eval was not a Boolean: null [null] on the field phaseName of form hoursNotYetBilled) 
> at https://localhost:8443/projectmgr/control/projectBilling?projectId=9000
> I found specialpurpose/projectmgr/widget/form/ProjectForms.xml contains 
> <field name="phaseName" position="1" use-when="showPosition1"><display description="${phaseName}[${phaseId}]"/></field>
> and changed it to 
> <field name="phaseName" position="1" use-when="showPosition1!=null"><display
description="${phaseName}[${phaseId}]"/></field>
> but https://localhost:8443/projectmgr/control/projectBilling?projectId=9000 now gives
me 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean:
null [null] on the field workEffortName of form hoursNotYetBilled (Return value from use-when
condition eval was not a Boolean: null [null] on the field workEffortName of form hoursNotYetBilled)

> It appears to me that I've created a data error and I'm unsure what to do to correct
the error. 
> Since it's now Monday DemoEmployee2 has a new timesheet and has started entering hours,
but; Admin still gets the same error at Billing. 
> I can avoid the error by commenting phaseName and workEffortName in ProjectForms.xml
> <!--
> <field name="phaseName" position="1" use-when="showPosition1"><display description="${phaseName}[${phaseId}]"/></field>
> <field name="workEffortName" title="${uiLabelMap.FormFieldTitle_taskName}" position="1"
use-when="showPosition1"><hyperlink target="taskView?workEffortId=${workEffortId}" description="${workEffortName}[${workEffortId}]"/></field>
> -->
> Thanks for your help with this issue,
> DaleEMoore@gMail.Com



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message