Default value of the Relative Date type parameters gets changed once the user misses filling a mandatory field.
Steps to reproduce:
- Login CA PPM as an Admin user.
- Go to Home --> Reports and Jobs.
- Under the Reports tab, search for Report Type = Resource Availability.
- Click on the result to see the Report properties page.
- Check that, for the "Start Date" parameter, Relative Date radio button is already selected as the default option, with the value "Start of Current Month".
- Remaining mandatory fields (marked with a Red Star) are all filled up.
- Select the "period type" parameter and set the value to [--Select--], that is blank.
- Click on Submit.
- The report gives the ERROR "NJS-0119: At least one parameter is invalid. Check the parameters and submit again" which is expected as one of the required fields was left blank.
Expected Results: All the other Parameters should retain their default values as there was no change made to them.
Actual Results: Start Date parameter is now having the "Specific Date" option with a blank value.