Steps to Reproduce
run removed-series-freezes.zul
click buttons 1), 2)
Current Result
nothing happens
Expected Result
1) the series should be removed
2) its data should be replaced
Debug Info
the second series which was not initially removed doesn't have this problem.
Root Cause
When calling series.remove() before initial rendering the series freezes ...
i.e. its OptionDataListener is being removed without actually removing the series from the series collection, leaving it unresponsive to subsequent OptionDataEvents
Workaround
Don't call series.remove() initially (initially this is can be avoided by not creating/removing series unnecessarily)