[jira] [Updated] (OFBIZ-8111) Add task to project does not behave correctly

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

[jira] [Updated] (OFBIZ-8111) Add task to project does not behave correctly

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-8111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Montalbano Florian updated OFBIZ-8111:
--------------------------------------
    Attachment: OFBIZ-8111.patch

Here is a patch to solve the problem.
I did some improvement of the readability of the form to create a task from the projects sreens.
There where 2 form merged into this one : one for MyTask and one for ProjectTask.
So I used the one of ProjectTask :
https://localhost:8443/projectmgr/control/EditProjectTasks?projectId=9000
 as a base and then I extended it to use it in MyTask :
https://localhost:8443/projectmgr/control/MyTasks

I checked the different behaviour of each forms and everything seem Ok now.

The only thing that bug me is that I removed an event on the "Phase" field of the form. It was triggered 'onChange' and send the user on another page. If there was some hidden utility behind this, I'll put it back.

Feel free to comment the patch ; )

> Add task to project does not behave correctly
> ---------------------------------------------
>
>                 Key: OFBIZ-8111
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8111
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/projectmgr
>    Affects Versions: Trunk
>            Reporter: Montalbano Florian
>              Labels: add, phase, project, task, void
>         Attachments: OFBIZ-8111.patch
>
>
> When adding a task to a project, through this form : https://localhost:8443/projectmgr/control/EditProjectTasks?projectId=9000
> the form behave weirdly. Upon the selection of a phase, you are redirected to another page before finishing to fill the form.
> Step to reproduce :
> * Go to this form : https://localhost:8443/projectmgr/control/EditProjectTasks?projectId=9000
> * Select a phase from the dropdown
> * See the immediate redirection
> Guess of the problem : After some searches, it seems that the keyword 'void' used in most of the condition of the form doesn't work as it should. When you replace all the 'void' by 'null' , it seems to work as it should.



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