When trying to remove a delivery group from an application in Studio after renaming/editing application name within application properties in the same step, getting the error "object does not exist" .

When trying to remove a delivery group from an application in Studio after renaming/editing application name within application properties in the same step, getting the error "object does not exist" .

book

Article ID: CTX239966

calendar_today

Updated On:

Description

When trying to remove a delivery group from an application in Studio after renaming/editing application name within application properties in the same step, getting the error  "object does not exist" .
 
The above error will come when trying to remove a  delivery group, adding the delivery group will not an issue(the removal fails, but the addition succeeds.)
 
Opening the application properties again to try the removal again then succeeds.
 
Note: The issue will only be seen when we try to change application name and remove the delivery group in the same step.
 
"
Error Id: XDDS:1F0D5809
Exception:
Citrix.Console.Models.Exceptions.ObjectNotFoundException Object does not exist.
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host)
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.GetApplicationSearchScript.PopulateCommandWithParametersAndExecute(GetBrokerApplicationCmd getApplicationsCommand)
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.GetApplicationSearchScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.RemoveApplicationDesktopGroupsScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.UpdateApplicationScript.RemoveDesktopGroupAssociations()
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.UpdateApplicationScript.RemoveGroupAssociations()
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.UpdateApplicationScript.UpdateGroupAssociations()
at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.UpdateApplicationScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.DesktopGroups.UI.Dialogs.EditApplicationPropertyViewModel.Commit(IProgressReporter progressReporter)
at Citrix.Console.CommonControls.Wizard.PageContainerViewModel.b__21_1(IProgressReporter progressReporter)
at Citrix.Console.CommonControls.Wizard.CommitProgressViewModel.PerformOperationInternal()
 
DesktopStudio_ErrorId : UnknownObject
Sdk Error Message : Object does not exist
Sdk Error ID : Citrix.XDPowerShell.Broker.UnknownObject,Citrix.Broker.Admin.SDK.GetBrokerApplicationCommand
ErrorCategory : ObjectNotFound
DesktopStudio_PowerShellHistory : GetApplicationSearchScript
9/19/2018 3:02:30 PM
 
Get-BrokerApplication -AdminAddress "fchctxdcp10.fm.frd.fmlh.edu:80" -MaxRecordCount 2147483647 -Name "Epic\Epic 2018 REL_1"
Get-BrokerApplication : Object does not exist
+ CategoryInfo : ObjectNotFound: (:) [Get-BrokerApplication], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.UnknownObject,Citrix.Broker.Admin.SDK.GetBrokerApplicationCommand
 
 
Inner Exception:
Citrix.Broker.Admin.SDK.SdkOperationException Object does not exist
 
Inner Exception:
System.Management.Automation.ItemNotFoundException Object does not exist

"

Resolution

There is a private fix LD0594 for 7.15 CU2 environment.
 
Please contact Citrix Technical Support to validate if the issue is matching the symptoms of the private and then get the private fix if applicable.

Problem Cause

The issue is caused when changing application name, the property ApplicationNameWithFolder still use the old name instead of replacing with new modified name.