You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2015/01/05 14:00:36 UTC
[jira] [Commented] (OFBIZ-5944) Error at EditWorkEffort for reason
field
[ https://issues.apache.org/jira/browse/OFBIZ-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264560#comment-14264560 ]
Deepak Dixit commented on OFBIZ-5944:
-------------------------------------
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)