Incorrect Time Displayed On Video Rendition Info Page (Doc ID 1275283.1)

Last updated on DECEMBER 31, 2010

Applies to:

Oracle Universal Content Management - Version: 10.1.3.4.0 and later   [Release: 10gR3 and later ]
Information in this document applies to any platform.

Symptoms

On : 10.1.3.4.0 version of Content Server, with Digital Image Manager (DAM) installed, certain videos have the wrong video length displayed, ie 37 seconds for a 9 minute 37 second long video.
The issue is related to the use of the parseInt function without specifying a radix (one of the parameters needed by the function) when calculating the time. It may in fact be an issue with javascript's implementation of the function.

If the video in question is 9 minutes 37 seconds long. It calculates the minute string as "09", and a string is passed with a 0 to parseInt without specifying a radix. The number should be parsed as octal. However, the number 9 does not exist in octal, so it fails and returns a 0. Passing a radix of 10 to the parseInt function at this point fixes the issue.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Install DAM
2. Convert a 8 or 9 minute long video
3. Look at the video rendition info page.

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