Availability Service Business Service > Method: GetEndTimeBasedOnShift Crashing if the duration is 0 (Doc ID 2120771.1)

Last updated on MARCH 25, 2016

Applies to:

Siebel Field Service - Version 8.1.1.10 [23021] and later
Information in this document applies to any platform.

Symptoms

On : 8.1.1.10 [23021] version, Field Service

ACTUAL BEHAVIOR
---------------
Availability Service BS crashes if the duration value = 0

EXPECTED BEHAVIOR
-----------------------
Application should not crash but return a value

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Create a new schedule in Service Admin and input a full schedule
2) Call the business service "Availability Service" > method "GetEndTimeBasedOnShift" in the BS simulator with the following values:
a) duration = 0
b) shiftId = row_id of the new New Schedule created above.
c) startDateTime = date Time (03/23/2016 10:00:00)

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot add a duration of 0 for shift availability

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms