You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pritam Kute (JIRA)" <ji...@apache.org> on 2016/06/09 12:59:20 UTC

[jira] [Commented] (OFBIZ-7252) Error adding task to backlog

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

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

I have looked into the code and found that first issue reported regarding console error was due to the replacement of custRequestId in parameters.

Again I observed that the TaskForms.xml#EditSprintTask form is inherited in two different forms, one is scrumForms.xml#NewTaskForSprintBacklog and other is scrumForms.xml#NewTaskForUnplanBacklog.

Request 'updateSprintTask' which is there in TaskForms.xml#EditSprintTask is responsible for updating existing task, so it is of no use as we are creating a new task for the sprint. So deleted the 'alt-target' from TaskForms.xml#EditSprintTask.

Tested all the functionality and found working fine.

> 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)