xenadmin/XenAdmin/Controls/CheckableDataGridView
Mihaela Stoica 65b4ef1f37 CA-152052: Fix the issue where the License Manager showed the wrong state when assigning/releasing license from pool
The problem was that the License Manager was listening to PropertyChanged events on the master only, not on slaves.
When the master's properties change (e.g. edition) we update the row in the license manager; but in some cases a slave (or more) hasn't been updated yet (as it may be updated in another event.from) and we think that the pool is partially updated.
Our solution is to listen to Host BatchCollectionChanged event, which is triggered once per cache update for the host collection (it any property changed for any of the hosts).
The sleep in the ApplyLicenseEditionAction is not needed anymore, nor is the extra call to update the cell after the action is completed, because the cell is getting updated correctly on the BatchCollectionChanged event.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-11-24 16:57:42 +00:00
..
CheckableDataGridView.cs CA-137470: Fixed unhandled exception raised by pressing space key on gridview of License Manager. 2014-07-04 11:10:46 +01:00
CheckableDataGridViewController.cs CA-152052: Fix the issue where the License Manager showed the wrong state when assigning/releasing license from pool 2014-11-24 16:57:42 +00:00
CheckableDataGridViewRow.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
ICheckableDataGridViewView.cs CA-137470: Fixed unhandled exception raised by pressing space key on gridview of License Manager. 2014-07-04 11:10:46 +01:00