My Oracle Support Banner

Af:inputDate Not Working As Expected With Min And Max Property (Doc ID 2719369.1)

Last updated on MARCH 10, 2023

Applies to:

Oracle JDeveloper - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

In An ADF application that has header with details page where the header information is displayed on top and Line information is displayed on a table below it, the following issue is observed:

When the start date and end date is given for the header, it is required that the user enters Line dates within the Header Date range; hence, the property min and max are used at line level dates.
Moving the Header start date to beyond Lines Start date then trying to click on Line Date shows the previous dates as active.

It is only after making a dummy selection on Lines date that the Min Max property is seen coming into effect.
This is a problem as the user is not able to understand the issue at glance.

The issue occurs in 12.2.1.3 and 12.2.1.4.

The issue can be reproduced by the following steps:

  1. Compile the application that has a model and view controller projects in JDeveloper 12.2.1.3
  2.  Run the jspx web page in the view controller project which should display a table with data fields in it.
  3.  When the page is displayed, notice the following:

    in the HeaderId 1 Section, the StartDate is set to 12/30/1991 (min)
    in the lineId 1, it is also set to 12/30/1991.  If you click on the Date picker of the StarDate in the LineId 1 row,
    you should see that the date shows December 1991 and the day 30 is enabled.
    Any days before 30 are disabled which is expected and all days after 30 are enabled which is also expected.
  4. Now try to change the StartDate in the headerId 1 section to 12/28/1991 and click the Tab key.
  5. Now click on the Date picker of the StartDate in LineId 1, you will notice that 28 is disabled and it is still
    showing the old StartDate (30 dec 1991). It should show 28 enabled and all days before it disabled and all days after 28 enabled.
    Which is not the case. This is the bug.

Cause

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
Symptoms
Cause
Solution
References


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