In OmniPlan 4.0.2 (v205.7.0) reading Task.duration fails.
Writing works well – we can set a task’s duration, and the results are visible in the GUI, but as a getter, evaluation of .duration invariably returns only null values, even for tasks that do have duration values.
(regardless of whether these durations have been set through the GUI or the API)
Example:
We can create the following data by script or GUI, but the .duration value for each task is invariably reported to be null
( for me, it’s over 3 years too late, and I would be wary of another project tripping over untested API, and again being stopped in its tracks by dilatory response)
My apologies again for the slow response on that bug! Looking into the history of that bug, it looks like your initial report was filed as low priority because there wasn’t any indication that you were blocked by it, just a note that you had observed the bug.
The second person to encounter the bug (a year later) did ask for help resolving it, which is why the support team investigated in more detail and provided them with a workaround. But since the workaround solved the issue for that second customer, it was still considered a low-priority bug since we’d only only received two reports about the problem and a workaround was available.
When this bug was brought to our attention again earlier this week, the person triaging the report understood better how even a small bug like this might get in the way of someone trying to build automate scripts. So he asked engineering about it, and it was immediately fixed.
I’m sorry that our initial triage of that bug didn’t identify that it was making the app less usable for people writing scripts!
For anyone reading this in the future, please don’t hesitate to tell us when a bug—no matter how small—is making your life more difficult. Knowing how a bug affects your use of our app helps us do a better job of understanding how important it is relative to other bugs that have been reported.