frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.98k stars 7.2k forks source link

Moving Tasks using the Gantt Chart doesn't function correctly #19348

Closed bitaccesscomau closed 4 months ago

bitaccesscomau commented 4 years ago

When moving tasks using the Gantt view the task will have its' date set to 1 month ago and task duration to set to 1 day. If the task has tasks dependant on it it will also recursively reset the linked tasks. This is both in the Gantt view and visible on the the task properties itself.

Please see order of actions below with screenshots. (Movement was performed from current day to next calendar day by dragging the centre of the task).

  1. Initial task layout. Screen Shot 2019-10-19 at 5 59 04 pm
  2. Movement of task 2 (Initial Scoping Session) Screen Shot 2019-10-19 at 5 59 11 pm
  3. Refresh Screen Shot 2019-10-19 at 5 59 22 pm
  4. Movement of Task 1 (Create Work order) + Refresh Screen Shot 2019-10-19 at 5 59 42 pm
  5. Movement of Task 1 again to test date movement Screen Shot 2019-10-19 at 5 59 59 pm
  6. Final view. Screen Shot 2019-10-19 at 6 08 55 pm

If you require further testing or feedback please let me know.

bitaccesscomau commented 4 years ago

This references #17923 with more information.

clarkejj commented 4 years ago

Thanks for reporting this - please post your observations on discuss too for all to benefit and respond to help debug this.

To relate both conversations be sure to add cross links here and there too.

bitaccesscomau commented 4 years ago

Some additional research has lead me to this pull request: https://github.com/frappe/gantt/issues/128 (More information and issue reference here: https://github.com/frappe/gantt/pull/126)

Seems like it is an issue with mouse events?

I'll try a merge from that link on my instance and report back my findings.

clarkejj commented 4 years ago

Good info - I urge you to post a link to this on discuss.ernext.com to inform and engage the community!

bitaccesscomau commented 4 years ago

Thanks for your feedback, I have opened this discussion here to gather more input:

https://discuss.erpnext.com/t/moving-tasks-using-the-gantt-chart-doesnt-function-correctly/54205

valentincauro commented 4 years ago

Excatly the same issue, really problematic !

wojosc commented 4 years ago

I have noticed that there are big differences in the manipulation of tasks in gantt view depending on the browser I use. In Chrome is works to a certain extent: You can move a task and change the length. After that manipulation fails at some point.

In Firefox the task will just jump to some random spot and then be unusable in gantt view.

Achder commented 4 years ago

Any updates on this?

dvdl16 commented 4 years ago

There is an open PR for this, but it hasn't been merged yet

safwansamsudeen commented 6 months ago

@ankush this can be closed - will be fixed in the revamp of Frappe Gantt