Our state of the art Gantt chart


Post by Jerther »

Hi!!

See attached demo. Here are the steps:

  • Run the demo
  • Watch the network activity monitor
  • Move any task to the right (let's say row 3)

Result:

  • No sync request is made

Expected result:

  • A sync request is made to save the modification

Additional details:

  • Expanding a task does the same thing
  • Going into the task editor and entering the modification directly and hitting ave does trigger a sync querry.
  • Obviously there is a problem with my data but there is no error or warning in the console to give a clue of what the problem might be.

v2.1.5 and 2.1.6 (demo has 2.1.6)

It might be because of the number of tasks. Here's the same thing with the big data demo:

  • Open the demo
  • Add a sync url to the ProjectModel:
    let gantt,
        project = window.project = new ProjectModel({
            autoSync: true,
            transport : {
                sync : {
                    url: 'sync'
                }
            }
        });
  • Watch network monitor
  • Drag a task to the right

Result:

  • No sync request

Expected:

  • A sync request ;)

Additional details:

  • Same thing here also, you can edit a task with the task editor and hit save, then a sync querry occurs.
Attachments
test-odoo-move-nosync.zip
(2.34 MiB) Downloaded 111 times
Last edited by Jerther on Thu Jul 16, 2020 4:14 pm, edited 1 time in total.

Post by Jerther »

We've just realized that editing a task with the columns on the left also does not trigger a sync request.


Post by pmiklashevich »

See attached demo

I see no attachments. Please attach your demo

Pavlo Miklashevych
Sr. Frontend Developer


Post by Jerther »

Sorry, original post updated.


Post by pmiklashevich »

Pavlo Miklashevych
Sr. Frontend Developer


Post by Jerther »

Nice! Thanks!


Post by Jerther »

I just did some tests in 4.1.5 and I believe this is fine now.


Post by pmiklashevich »

You're right! The ticket is closed.

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply