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

Pritam Kute commented on OFBIZ-7252:
------------------------------------

Thanks [~Florian M] for reviewing the changes.

In "replacement of custRequestId", I mean, custRequestId is already available 
in parameters map which was being replaced by this line of code.

custRequestId is used in scrumForms.xml#NewTaskForSprintBacklog for preparing 
list of backlog tasks. Here we were getting null value because of 
above-mentioned replacement of parameter value and it was the cause of 
exception on the console.

During exploration, I also found the problem in framework level code for 
handling of the <alt-target> in inherited form. I am going to start the 
discussion on it on the developer list very soon!

> Error adding task to backlog
> ----------------------------
>
>                 Key: OFBIZ-7252
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7252
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/scrum
>    Affects Versions: Trunk
>            Reporter: Montalbano Florian
>            Assignee: Pritam Kute
>              Labels: error, form, scrum, sprint, task
>         Attachments: OFBIZ-7252-Trunk.patch
>
>
> There are several problems in the form to add a new task in a backlog. Step 
> to reproduce :
> - Go to the Scrum component and select a product sprint 
> (https://localhost:8443/scrum/control/ViewSprint?sprintId=DEMO-SPRINT-1&projectId=DEMO-PROJECT-1)
> - Scroll down to the Sprint Backlog List
> - Click on a button "Add Task"
> - See the error in the console.
> From there, it's not possible to create a new task. When clicking on the 
> create button, there is an error and the target is 
> "https://localhost:8443/scrum/control/updateSprintTask"; where it should be 
> "https://localhost:8443/scrum/control/createSprintBacklogTask";. 
> I tried to solve the problem but it's beyond me. The form causing the problem 
> is scrumForms.xml#NewTaskForSprintBacklog and it extends the form 
> TaskForms.xml#EditSprintTask .
> Thanks,
> Florian



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

Reply via email to