RadiantQ Forum

Product => WPF Gantt Package => Topic started by: d.laumaille on November 10, 2015, 09:22:39 AM

Title: Problem with milestones
Post by: d.laumaille on November 10, 2015, 09:22:39 AM
Hi everybody !

I've got a problem with milestones, but I can't reproduce it clearly, it seems pretty random...
Sometimes, in my gantt, some milestones don't place correctly in the chart. And when it happends, if I try to move the incorrect milestone, my app crashes.

Look at this screenshot to see my problem :
(http://download.ag2l.fr/AG2LMaj/DLM_Forum_RadiantQ/milestone%20problem.png)
Title: Re: Problem with milestones
Post by: ForumAdmin on November 10, 2015, 10:25:06 PM
Hi,

So, it's important that we figure why the milestone is rendered out of sync with the timeline.

When does this happen, on load itself or do you have to do something on the chart / milestone to make it go out of sync with the timeline?

Could you check if the underlying task object has any suspect values for StartTime, Effort and/or EndTime?

Thanks
RQ Support
Title: Re: Problem with milestones
Post by: d.laumaille on December 15, 2015, 02:13:31 PM
Finally, I found the problem...
All my ressources have a method :

public TimePeriodCollection ScheduleProvider(DateTime date)
{
...
}


In that method, if I don't find any result, I used to return an empty TimePeriodCollection...
Now, I return null, and all is working fine !

Topic closed !