Dynamic Select values are getting reset to default
SummarySelected dynamic select values are getting lost. In UI "select" is shown whereas clipboard has the expected value.
Error MessagesNot applicable
Steps to Reproduce1.Create a grid , in two columns use section include.
2.In the section add dynamic select control with activity as source for DS.
3.Grid has two more column with checkboxes, on click refresh section run datatransform set on both checkboxes .
4.Run case and select/deselct checkboxes fast.
Root CauseA software use or operation error :-
Use on click of checkbox running activity to set dynamic select values and refreshing the section to show updated values.
1.Onload values were getting set in DS properly.
2.On checkbox selection two events are getting triggered one is refresh section with DT and DS activity to populate the dropdown.
3.At times, before the Refresh Section Run DT / DS activity is getting executed again user clicks another checkbox.
6.The issue is observed if checkbox is selected/deselected very fast.If user gives a pause till all the DS loads again, issue is not observed.
ResolutionSince the dynamic select values are static for current scenario (not changing on each refresh section), checked "Enable Caching" option in dynamic select configuration.It will restrcit to reload the DS on each section refresh, in turn checkbox click event works correctly.
Published September 20, 2016 - Updated September 30, 2016