Un-deploy through non active GSM throws Exception although successful
Description
Activity
Show:
Fixed
Details
Details
Assignee
Reporter
Participants of an issue
Priority
Fix versions
Platform
All
Sprint
None
Acceptance Test
test/servicegrid/gsm/UndeployByNonActiceGSMTest.java
test/servicegrid/gsm/UndeployByNonActiveSecuredGSMTest.java
Freshdesk Support
Open Freshdesk Support
Created April 24, 2017 at 4:53 PM
Updated April 27, 2017 at 11:45 AM
Resolved April 25, 2017 at 1:42 PM
(1) Un-deploy through non active GSM throws Exception although successful. The exception is caused by un-exporting of the DeployAdmin proxy being used to un-deploy. This proxy was gained as part of a redirect action from the non-active GSM to active GSM.
Fix - ignore exception when channel is closed due to unexport
(2) Un-deploy through non-active secured GSM. Until now threw AuthenticationException indicating user is not logged in. This is misleading since it is caused by the redirect of the operation from a non-active GSM to an active one. The proxy is then 'not trusted' and this exception is thrown.
Fix - throw OperationalStringException indicating of the limitation.