My Oracle Support Banner

"setValue" to Date Only Attribute Sets the Wrong Date (Doc ID 2051402.1)

Last updated on JUNE 19, 2019

Applies to:

Oracle Agile PLM Framework - Version to [Release 9.3]
Information in this document applies to any platform.


Actual Behavior
"setValue" to Date Only attribute sets the wrong date

Expected Behavior
"setValue" to Date Only attribute sets the correct date

1. Create subclass of Item class:Test-Part
   In Page3, define TestDate1 and TestDate2 attributes with Date Time Format="Date Only"

2. Login to Web Client and create <Part1> with subclass:Test-Part
   Set TestDate1 to 07/28/2015

3. Run the sample code to copy the date from TestDate1 to TestDate2

4. Login to Web Client and open <Part1>
  TestDate2: 07/27/2015  -> different from TestDate1

What Is Working
If Date Time Format for attributes is "Date and Time", not "Date Only", "setValue" sets the correct date and time.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.