June 21, 2018, 08:46:20 AM

See more Support incidents in our old archived forum.

Author Topic: Problem with milestones  (Read 1359 times)

d.laumaille

  • Customers
  • Newbie
  • *
  • Posts: 21
Problem with milestones
« 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 :

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 78
Re: Problem with milestones
« Reply #1 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

d.laumaille

  • Customers
  • Newbie
  • *
  • Posts: 21
Re: Problem with milestones
« Reply #2 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 !