xenadmin/XenAdmin
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
..
Actions Merge branch 'xs64bit' into detailedreports 2014-08-13 15:44:24 +01:00
Alerts CP-9784: Recognise LICENSE_SERVER_VERSION_OBSOLETE alert in XenCenter 2014-10-02 16:04:05 +01:00
Commands CP-10334: Make Export resource data option available for pools or standalone hosts (used to be pool only) 2014-11-17 11:43:35 +00:00
ConsoleView CA-148332: Right click on a Windows VM brought up the PV linux copy/paste context menu 2014-10-08 11:24:41 +01:00
Controls 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
Core 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
Diagnostics CA-136211: Show link to the relevant Knowledge Base article that describes StorageLink pre-check error 2014-10-02 16:30:50 +01:00
Dialogs 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
Help Updated version of XC Help 2014-11-18 17:48:49 +00:00
Images CP-4961 Add missing file 2014-06-04 16:36:09 +01:00
Network CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Plugins CA-144950 Accept loading resource strings downloaded from the internet 2014-09-01 14:34:52 +01:00
Properties CP-4961 One more new icon (a different 'objects' icon for the tree) 2014-06-04 09:36:19 +01:00
RDP CA-137236: Fix XenCenter Console crash when switching to remote desktop on Windows Server 2003 SP2 2014-06-10 17:12:16 +01:00
ReportViewer CA-142266: remove Enter at storage to avoid CSV format display problem 2014-08-13 17:28:54 +08:00
ServerDBs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
SettingsPanels Merge pull request #186 from Zhengchai/CA-134554 2014-08-29 11:23:43 +01:00
TabPages CP-10334: XenCenter work for the new changes in licensing 2014-11-14 17:29:01 +00:00
TestResources Corrected name spelling. 2014-02-20 13:20:04 +00:00
Utils XenAdmin.Utils.TemporaryDisablerForControls: Utility class that can remember Enabled states of controls provided. Original Enabled values can be restored. 2013-10-10 15:33:29 +01:00
Wizards CA-147941: Fixed the RPU wizard hang in "Reconnecting Storage" and connecting action stuck in progress state 2014-10-10 13:16:50 +01:00
Wlb CP-8868: Development for WLB Audit Report - XenCenter Part. 2014-08-06 20:49:09 +08:00
XenSearch Refactored MainWindow to derive from IMainWindow rather than implement a field deriving 2014-01-22 12:39:32 +00:00
app.config CAR-100: Upgrade to .NET 4.0 instead of 3.5 -- Upgrading projects to target .Net 4.0 & updating to VS2010 format where needed 2013-12-05 14:44:59 +00:00
AppIcon.ico CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Branding.cs CA-95786: Corrections to previous commit - show both the marketing name and the version on XenCenter's About box. 2014-02-18 17:38:11 +00:00
GroupingTag.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Images.cs CP-4961 One more new icon (a different 'objects' icon for the tree) 2014-06-04 09:36:19 +01:00
IMainWindow.cs Refactored MainWindow to derive from IMainWindow rather than implement a field deriving 2014-01-22 12:39:32 +00:00
LicenseTimer.cs CA-122558: Generate a license alert when the license status is expired. Fixed incorrect 2014-05-12 15:40:05 +01:00
MainWindow.cs CA-148245: Fix the error where XenCenter did not refresh immediately after disconnecting a server 2014-10-08 17:16:45 +01:00
MainWindow.Designer.cs CP-8866:Development for Resource Statistic Feature on XenCenter 2014-08-01 11:34:37 +08:00
MainWindow.ja.resx CP-6317: Importing from branch clearwater-ln. 2013-09-26 13:00:28 +01:00
MainWindow.resx CA-95967: Change Logfiles back to Log Files per recommendation of Information Experience department 2014-08-15 14:07:14 +01:00
MainWindow.zh-CN.resx CP-6317: Importing from branch clearwater-ln. 2013-09-26 13:00:28 +01:00
MainWindowTreeBuilder.cs CA-145350: Hard to clear error notification 2014-09-11 14:43:19 +01:00
OrganizationalView.cs CP-6095: Ensure the different views have a single root node with the appropriate 2013-10-08 10:17:57 +01:00
PasswordsRequest.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
PowerManagment.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Program.cs CA-136288 Restore application settings after installing a new version of XenCenter 2014-05-30 12:39:07 +01:00
Settings.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
SettingsUpdate.cs CA-136288 Restore application settings after installing a new version of XenCenter 2014-05-30 12:39:07 +01:00
UpdateManager.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
UpdateManager.DelayCalculator.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WinformsXenAdminConfigProvider.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
XCPluginSchema.xsd CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
XenAdmin.csproj CA-136211: Show link to the relevant Knowledge Base article that describes StorageLink pre-check error 2014-09-26 15:48:14 +01:00
XenAdmin.manifest CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
XenAdmin.rc CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
XS56E008.xsupdate CP-9090: Update RPU hotfixes in XenCenter 2014-08-04 13:46:21 +01:00
XS56EFP1002.xsupdate CP-9090: Update RPU hotfixes in XenCenter 2014-08-04 13:46:21 +01:00
XS60E001-src-pkgs.tar.gz CP-9090: Update RPU hotfixes in XenCenter 2014-08-04 13:46:21 +01:00
XS60E001.xsupdate CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
XS62E006-src-pkgs.tar.gz CP-9090: Update RPU hotfixes in XenCenter 2014-08-04 13:46:21 +01:00
XS62E006.xsupdate CP-9090: Update RPU hotfixes in XenCenter 2014-08-04 13:46:21 +01:00