[jira] [Commented] (OFBIZ-9900) Unable to create event in SFA component

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9900) Unable to create event in SFA component

Nicolas Malin (Jira)

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

Ravi Lodhi commented on OFBIZ-9900:
-----------------------------------

EditEvent form extends EditCalEvent form and both the form have statusId field. EditCalEvent adds this field when the 'use-when' condition is true and form renderer doesn't merge fields with the same name if the use-when attribute is used.  Due to this when creating a new event, the list gets passed in the String field statusId of workEffortPartyAssignment entity. This is causing the error.

Need to think on the merging of form field on extending forms. But in the current functionality removing the statusId field from the EditEvent form resolve the issue as this field gets added from its parent. Provided the patch for the same.

Thanks!

 

> Unable to create event in SFA component
> ---------------------------------------
>
>                 Key: OFBIZ-9900
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9900
>             Project: OFBiz
>          Issue Type: Bug
>          Components: workeffort
>            Reporter: Rubia Elza Joshep
>            Priority: Major
>             Fix For: Trunk
>
>         Attachments: OFBIZ-9900-Trunk.patch
>
>
> Steps-
> 1) Open URL https://demo-trunk.ofbiz.apache.org/sfa/control/createWorkEffortAndPartyAssign
> 2) In SFA component, create an event by clicking on "Create new".
> 3) Fill in the information with name and select "To party id" (except admin).
> Expected: Event should be successfully created
> Actual: Unable to create event



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)