You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Jaideep Dhok (JIRA)" <ji...@apache.org> on 2015/02/28 18:29:04 UTC

[jira] [Commented] (LENS-364) Open session with wrong db is returning 404 but session is getting created with default db

    [ 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)