salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.35k stars 2.05k forks source link

ProjectTask - no Task ID #8279

Open t-sgi opened 4 years ago

t-sgi commented 4 years ago

Issue If you create a Projecttask over the subpanel in DetailView, the new task don't has a ID or its null every time. With these tasks you've got problems in the GANTT view with the predecessor.

Also take a look into the forum: https://suitecrm.com/suitecrm/forum/feedback/18171-project-tasks-no-task-id#89620

Steps to Reproduce

  1. Create a project
  2. In detailview scroll to subpanel projecttask
  3. create a new projecttask
  4. the new task has no ID

Context

If you create the tasks with a project-templete, all tasks has an own ID. Or if you create a Task over the GANTT chart, these tasks has IDs too.

Your Environment

Mac-Rae commented 4 years ago

@t-sgi

What's meant by no ID in this instance? I'm unable to replicate this issue so far

t-sgi commented 4 years ago

Please take a look to the attachment. I created task 1 & 2 aboaut the GANTT. Everything is fine. Id was created and I can work with predecessors. Task 3 was created over the create button in the subpanel of projecttasks. The ID is missing and it's not possibile to work with predecessor. NoID

Mac-Rae commented 4 years ago

Hi @t-sgi,

This issue has been confirmed to exist and is replicable in the latest 7.10.x version.

Thanks :+1:

t-sgi commented 4 years ago

Thanks for information

t-sgi commented 4 years ago

@604media We found another Bug when creating a project task via the subpanel if the project was previously created via a template. When creating a project from a template, the task IDs of the template are simply taken over. If you don't take over all tasks of the template, there will be gaps in the project task IDs. If a project task is created manually (via the subpanel), then the next free ID is simply taken without checking whether it already exists. The consequence is that in the GANTT you can no longer make a predecessor relationship for ID duplicates.