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

Deepak Dixit edited comment on OFBIZ-5944 at 1/5/15 1:01 PM:
-------------------------------------------------------------

Hi  Christian,

This is not the correct fix of problem that you have reported. Actual cause is 
<auto-fields-service service-name="updateWorkEffort"/> in 
component://workeffort/widget/WorkEffortForms.xml#EditWorkEffort form.

And as per service definition "reason" if field on updateWorkEffort service. So 
here form widget try to get the "reason" from GenericValue record workEffort 
and hence reason is not a valid field of WorkEffort entity so its throwing 
IllegalArgumentException.


was (Author: deepak.dixit):
Hi  Christian,

This is not the correct fix of problem that you have reported. Actual cause is 
<auto-fields-service service-name="updateWorkEffort"/>

And as per service definition "reason" if field on updateWorkEffort service. So 
here form widget try to get the "reason" from GenericValue record workEffort 
and hence reason is not a valid field of WorkEffort entity so its throwing 
IllegalArgumentException.

> Error at EditWorkEffort for reason field
> ----------------------------------------
>
>                 Key: OFBIZ-5944
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5944
>             Project: OFBiz
>          Issue Type: Bug
>          Components: workeffort
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>         Attachments: OFBIZ-5944.patch
>
>
> This error occurs when editing a workEffort at 
> workeffort/control/EditWorkEffort:
> Error rendering included form named [EditWorkEffort] at location 
> [component://workeffort/widget/WorkEffortForms.xml]: 
> java.lang.IllegalArgumentException: The field name (or key) [reason] is not 
> valid for entity [WorkEffort].java.lang.IllegalArgumentException: The field 
> name (or key) [reason] is not valid for entity [WorkEffort].



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

Reply via email to