Steps to reproduce:
Expected result:
Actual result:
- When the Dispose call to the App Server returns an exception, the exception handling tries to access the disposed session.
Error message/log:
ERROR ( WebLog ) : An error occurred while processing the request: POST https://edst-iamapi.webapp.edst.ebaintern.de/imx/login/BAShop System.Exception: An error occurred while processing the request: POST https://edst-iamapi.webapp.edst.ebaintern.de/imx/login/BAShop ---> System.ObjectDisposedException: The session is already disposed.
Object name: 'Session'.
at VI.DB.Entities.SessionImpl._CheckDisposed()
at VI.DB.Entities.SessionImpl.get_Principal()
at QBM.AppServer.Client.AppServerClient._ConvertException(WebServiceException ex)
at QBM.AppServer.Client.AppServerClient.Post[T](IReturn`1 request)
at VI.Base.IoC.LifetimeScopeImpl.Dispose()
at VI.DB.Entities.SessionImpl.Dispose()
at VI.DB.Implementation.Connection.Dispose()
at VI.Base.ResetLazy`1.Reset()