You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2014/03/06 23:37:45 UTC

[jira] [Commented] (OFBIZ-5563) Cannot delete production run task materials when only one material record exists for first task

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

Christian Carlow commented on OFBIZ-5563:
-----------------------------------------

I've narrowed down the problem.  The same form names are being used for each of the delete forms of the material records for each task.  So the issue occurs for any task material line having the same line number as another task material line.  

> Cannot delete production run task materials when only one material record exists for first task
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5563
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5563
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Christian Carlow
>            Priority: Minor
>
> When accessing a production run "Materials" tab before confirmation, materials associated with other tasks besides the first are not able to be deleted if the first task contains only 1 material assignment.  Therefore a bogus material record must be created for the first task in order to gain the delete functionality of the other tasks material associations.
> To reproduce:
> 1.  Create a production run for PIZZA
> 2.  Click on the "Materials" tab
> 3.  Assign any product at any quantity as material for the first task and second task
> 4.  Try to delete the second tasks material record
> 5.  Notice nothing happens when clicking the delete button.  This is because the javascript:submitFormDisableSubmits(this) is preventing submission based on some rules



--
This message was sent by Atlassian JIRA
(v6.2#6252)