[
https://issues.apache.org/jira/browse/LENS-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341670#comment-14341670
]
Jaideep Dhok commented on LENS-364:
-----------------------------------
In this case we should close the session. If we throw 404, then the new session
id is not sent back to the user. Also, since user explicitly mentioned a db to
start the session with, its better to throw error and close session rather than
starting a session with default.
> Open session with wrong db is returning 404 but session is getting created
> with default db
> ------------------------------------------------------------------------------------------
>
> Key: LENS-364
> URL: https://issues.apache.org/jira/browse/LENS-364
> Project: Apache Lens
> Issue Type: Bug
> Components: server
> Reporter: Arshad Matin
> Assignee: Jaideep Dhok
> Fix For: 2.1
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)