xenadmin/XenModel/Actions
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
..
AD CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
DR CP-5750: Changed the declaration for the ActionBase events Completed, Changed and 2013-08-09 17:20:33 +01:00
Folders CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
GPU Missing license headers. 2013-11-14 12:59:08 +00:00
Host 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
Message CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Network CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
Perfmon CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
Pool CA-149811: End the connection to each slave after that host has joined the pool to prevent XenCenter showing connection lost alerts 2014-10-28 09:36:05 +00:00
Pool_Patch CA-110209: Install Update Wizard: If the patch is already uploaded, then we use it and ignore the "already exists" error. 2014-04-30 13:31:39 +01:00
SR CP-8547: Add button in XenCenter to initiate space reclamation on an SR: Changes following code review. 2014-06-24 14:48:31 +01:00
StorageLink CA-145254 Incorrect error message when try to create CIFS SR with invalid credentials 2014-09-05 16:23:22 +01:00
Updates CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
VBD CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
VDI [CA-112327] Fixed Bug in BatchingMigrateVirtualDiskManager class 2013-11-04 12:35:12 +00:00
VIF CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
VM CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
VMAppliances CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
VMPP CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
WLB CA-135563:WLB tab show error message after disable WLB using Read Only user 2014-05-16 14:14:27 +08:00
Action.cs CA-142249: Prevent an ArgumentOutOfRangeException in ActionProgressDialog by ignoring negative values in the action's PercentComplete property. 2014-08-12 09:46:45 +01:00
AsyncAction.cs CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:40:26 +01:00
CancellingAction.cs CP-6093: Redesign of the CloseXenCenterWarningDialog to use the same controls as 2013-11-23 11:59:49 +00:00
DelegatedAsyncAction.cs CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
GetDataSourcesAction.cs CP-6317: Importing from branch clearwater-ln. 2013-09-26 14:45:26 +01:00
MultipleAction.cs CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:24:33 +01:00
MultipleActionLauncher.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
ParallelAction.cs [CA-112327] Fixed Bug in BatchingMigrateVirtualDiskManager class 2013-11-04 12:35:12 +00:00
ProduceConsumerQueue.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
PureAsyncAction.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
SaveChangesAction.cs CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
ZipStatusReportAction.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00