xenadmin/XenAdmin
Mihaela Stoica deb953a6ff CA-280287: Fix the null reference exception on the Import wizard (#1918)
* CA-280287: Fix the null reference exception on the Import wizard

- Added a check so that we don't attempting to show the license warning if the wizard is open without a preselected host/pool.
- The license warning is now updated whenever the host selection changes; plus, we are not attempting to show it if the wizard is open without a preselected host/pool.

- Also a minor refactoring in the GlobalSelectHost page to fix this issue: when the wizard is open with a pre-selected host, we pass this to the page by assigning SelectedHost property, which in turn sets the m_selectedHost. The getter for SelectedHost  resets m_selectedHost to the selected item in the host list. If the getter is used before the host list selection is updated, then the desired pre-selection is lost, because m_selectedHost is reset to null.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-280287: Corrections following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 14:05:20 +00:00
..
Actions Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Alerts CA-266926: Change the description of the LICENSE_EXPIRES_SOON alert message 2017-11-13 17:09:36 +00:00
Commands Rename resource string which causes Messages.resx to become unsorted 2018-01-11 12:45:37 +00:00
ConsoleView CP-26048: Improve the fix for CA-271775 (console tab) 2017-12-13 10:48:23 +00:00
Controls Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Core Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Diagnostics CA-276678: Add "Buy licenses" link in the patching wizard when the precheck fails with license restriction 2018-01-19 13:11:00 +00:00
Dialogs Merge release/jura/master into REQ-637 2017-12-19 13:12:39 +00:00
Help Updating 2 localised CHMs (#1854) 2017-11-13 15:51:40 +00:00
HomePage
Images REQ-158: Merge master to fix conflicts. 2017-10-24 18:51:24 +08:00
Network CA-243675: No Clear error message when proxy server which is configured is not running 2017-06-15 17:54:27 +01:00
Plugins Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
Properties Namespace tidy 2/several: replaced XenAdmin with XenCenterLib. 2017-11-30 13:56:32 +00:00
RDP Revert "CA-247333 - Remove rdpclient6 code after April 2017 when it will become redundant" 2017-11-06 11:28:07 +00:00
ReportViewer
ServerDBs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
SettingsPanels Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
TabPages Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
TestResources Update credits 2017-11-13 11:35:16 +00:00
Utils CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Wizards CA-280287: Fix the null reference exception on the Import wizard (#1918) 2018-01-19 14:05:20 +00:00
Wlb Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
XenSearch Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
app.config CA-266814: Fix the precheck that requires shared CDs to be ejected prior to update installation 2017-10-09 16:34:59 +01:00
app.manifest CA-261107: Metadata file osVersion is showing same value for XenCenter on different windows versions 2017-08-18 13:40:36 +01:00
Branding.cs CA-259276: Error when trying to install an update via JA XenCenter 2017-07-06 14:16:06 +01:00
GroupingTag.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
HomePage.ja.mht
HomePage.mht
HomePage.zh-CN.mht
Images.cs CP-24708: Show different unlicensed pool/host icon 2017-09-27 11:30:12 +01:00
IMainWindow.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
LicenseTimer.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
MainWindow.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
MainWindow.Designer.cs REQ-158: Merge master to fix conflicts. 2017-10-24 18:51:24 +08:00
MainWindow.ja.resx CA-272724: Missing user information in non-English XenCenter version. 2017-11-16 15:37:24 +08:00
MainWindow.resx REQ-158: Merge master to fix conflicts. 2017-10-24 18:51:24 +08:00
MainWindow.zh-CN.resx CA-272724: Missing user information in non-English XenCenter version. 2017-11-16 15:37:24 +08:00
MainWindowTreeBuilder.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
OrganizationalView.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
PasswordsRequest.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
PowerManagment.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Program.cs Namespace tidy 2/several: replaced XenAdmin with XenCenterLib. 2017-11-30 13:56:32 +00:00
Settings.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
SettingsUpdate.cs CA-176169: Added copyright statement to files which it was missing from 2017-01-16 20:14:56 +00:00
UpdateManager.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
UpdateManager.DelayCalculator.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
WinformsXenAdminConfigProvider.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
XCPluginSchema.xsd
XenAdmin.csproj CA-276678: Add "Buy licenses" link in the patching wizard when the precheck fails with license restriction 2018-01-19 13:11:00 +00:00
XenAdmin.rc