[
https://issues.apache.org/jira/browse/OFBIZ-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774494#comment-13774494 ]
Timo Mechsner commented on OFBIZ-5311:
--------------------------------------
So maybe it would be useful to attach the service call to the delete button?
> Error when we delete workeffort
> --------------------------------
>
> Key: OFBIZ-5311
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5311> Project: OFBiz
> Issue Type: Bug
> Affects Versions: Release Branch 11.04, Release Branch 12.04
> Reporter: Dhiraj Gupta
>
> Hi All
> Wnen we click on delete button on this page
>
https://demo-trunk.ofbiz.apache.org/workeffort/control/FindWorkEffort> then it gives the error
> The Following Errors Occurred:
> Exception thrown while removing entity value: Exception while deleting the following entity: [GenericEntity:WorkEffort][workEffortId,DEMO-TASK-4(java.lang.String)] (SQL Exception while executing the following:DELETE FROM OFBIZ.WORK_EFFORT WHERE WORK_EFFORT_ID=? (DELETE on table 'WORK_EFFORT' caused a violation of foreign key constraint 'CSTREQ_WF_WEFF' for key (DEMO-TASK-4). The statement has been rolled back.))
> Thanks
> Dhiraj Gupta
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira