Cannot Insert New Lines Into Existing Calendars. (Doc ID 457767.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.2
This problem can occur on any platform.

Symptoms

-- Problem Statement:
When adding additional lines into the calendar, when clicking on 'Finished' the following error is produced:

Error
Unable to update Calendar entity <domain name>.<calendar id>} java.lang.ClassCastException: java.lang.Long

Steps to replicate:

1- Go to Transportation Planning and Execution > Power Data > Calendar > Calendar Definitions, Click the NEW button.

2 - Enter an ID,

3 - Set the Calendar Cycle to be 14 days.

4 - Click Next

5 - Populate Day = 1, Start Time = 1 AM, End Time = 2 AM, Activity = Pickup, perform set to on and Save.

6 - Repeat the above step with Activity set to Receive.

7 - Repeat the above two steps for every hour in the day until 26 records have been entered.

8 - Click 'Activity Calendar Overrides'.

9 - Click 'Finish'.

10 - Calendar will save correctly.

11 - Edit the Calendar

12 - Add more records to the calendar until more than 30 records exist.

13 - Click 'Activity Calendar Overrides'

14 - Click 'Finish'

15 - Error is displayed.


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