You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Montalbano Florian (JIRA)" <ji...@apache.org> on 2016/07/04 15:37:10 UTC

[jira] [Updated] (OFBIZ-7734) Add content to task does not work

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

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

Here is a patch correcting this issue.
The problem was that in the context, the field 'workEffortContent' was not defined in the screen. So, in the form, every condition 'workEffortContent==null' was evaluated to false (it is weird and has already been reported). That made every field and the target of the form preparing for an update of content instead of a creation.

The lookup autocompletion weren't working too. I added it to the patch.

I noticed that adding content to a task from the 'WorkEffort' component (https://localhost:8443/workeffort/control/EditWorkEffortContents?workEffortId=9002) does not use the same form than in ProjectMgr. Is there a reason for that ?
And in the Scrum component, you can't add content after the creation of a backlog task. Would it be useful to allow adding content to scrum task (after their creation) ?



> Add content to task does not work
> ---------------------------------
>
>                 Key: OFBIZ-7734
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7734
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/projectmgr
>    Affects Versions: Trunk
>            Reporter: Montalbano Florian
>              Labels: content, task
>         Attachments: OFBIZ-7734.patch
>
>
> The form to add a content to a task does not allow to add anything because the field "ContentId" is in display only.
> How to reproduce :
> - Go to the Project Manager component
> - Select a project with at least 1 task
> - Select a task from this project
> - Go to the tab "Content" of this task
> - See the form "Add Task Content", the 'Content Id' field cannot be completed and thus the create fails
> ( shortcut https://localhost:8443/projectmgr/control/EditTaskContents?workEffortId=9002 )



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