Welcome to the Vue feedback portal. We’re happy you’re here! If you have feedback on how to improve the Vue, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,

A little error that breaks everything in segment management. If endDate is provided, the date is not parsed so it breaks during the checkEndDate.


var segment = segments[i];

var startDate = onLoad ? segment[taskSettings.startDate] : segment.startDate;

var endDate = onLoad ? segment[taskSettings.endDate] : segment.endDate;

var duration = onLoad ? segment[taskSettings.duration] : segment.duration;

startDate = this.getDateFromFormat(startDate);

startDate = this.checkStartDate(startDate, data.ganttProperties, false);

if (!isNullOrUndefined(duration)) {

  endDate = this.getEndDate(startDate, duration, data.ganttProperties.durationUnit, data.ganttProperties, false);

} else {

HERE HOULD BE : 

endDate = this.getDateFromFormat(endDate);

  endDate = this.checkEndDate(endDate, data.ganttProperties, false);

  duration = this.getDuration(startDate, endDate, data.ganttProperties.durationUnit, data.ganttProperties.isAutoSchedule, data.ganttProperties.isMilestone);

}