150 views

Description

The planned task is converting into a milestone on dragging the task in the Gantt chart in Planning console

Steps to Reproduce

In an affected instance (see Seen In):

  1. Update the Date Format to dd-MM-YYYY.
  2. Open any project.
  3. Click on the "Planning Console" Related link.
  4. Create a new task by clicking on the black "+" symbol and enter a desired duration to the task, eg: 10 Days.
  5. Click on the middle of the taskbar that is created on the right-hand side Gantt chart and drag it on the right.
  6. Observe the behavior of the task on the chart. The task will be converted into a Milestone which should not happen.

Workaround

FULL WORKAROUND BELOW :
==========================
>> Update script in 'Calculate Duration from End date' Business rule to <<

(function executeRule(current, previous /*null when async*/) {
var response;
var plannedTaskApi = new SNC.PlannedTaskAPI();
if (current.getValue("allow_dates_outside_schedule") == "1")
response = plannedTaskApi.calculateDurationInternal(current.getValue('start_date'), current.getValue('end_date'), "");    //Updated line
else
response = plannedTaskApi.calculateDurationInternal(current.getValue('start_date'), current.getValue('end_date'), current.top_task.schedule);     //Updated line
response = new JSON().decode(response);
current.duration = response.duration;

})(current, previous);


Related Problem: PRB1376428

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - Platform - Performance Analytics Content Pack for Guided Tours - v1.0.1
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - ElasticSearch Integration - Madrid 2019 Q1
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response PA Content - New York 2019 Q3
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - SIR - Threat intelligence - New York 2019 Q3
SR - VR - Vulnerability Response - New York 2019 Q3
SR - VR - Vulnerability Response PA Content - Madrid 2019 Q2

Fixed In

New York Patch 9
Orlando

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-06-22 15:31:11
Published:2020-06-22