I'm trying to update the duration field on tasks using CSOM, but the following is happening. If the task already has a duration value, then CSOM sets the new value without a problem. But if the task still doesn't have a value, then the new value added by CSOM, doesn't get saved.
This is my data:
For instance, if in the code I set the value of task "dois" to "2.00" then on the project schedule, I'll see "2d". However, if I in the code I set the value of "um" to "5.00", then when I check the schedule again, the duration field for "um" will still be blank. Furthermore, when I'm reading the duration value for "um" using CSOM, the value is actually "1d" and not blank as it appears on the project schedule.
Any ideas?