Support Article
"RF_TimeZoneList" control does not update as expected
SA-15950
Summary
Whenever user selects a value from the dropdown, it changes back to the default value.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a section inside a modal window to populate the operator details on click of operator ID present inside repeating grid.
2. Use "RF_TimeZoneList" control to populate timezone option for user.
3. Select any value in that control and save the changes.
4. In DB, the updated value is saved but in UI, the default, America/Newyork, is displayed.
Root Cause
A software use or operation error.
User is using a clipboard page to populate the operator details but "RF_TimeZoneList" control looks for the step page to get operators timezone details.
User is creating the page through activity and using the page reference to populate the details in a section,so step page at run time is null.
Resolution
Perform the following local-change:
Create a custom control with the changes as mentioned below:
Instead of "String timeZone= tools.getStepPage().getString(propertyName);" as present in "RF_TimeZoneList" use "String timeZone= tools.getActive().getParentPage().getString(propertyName);" in the custom control to get timezone detail.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.