You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/01/19 17:39:39 UTC

[jira] [Assigned] (SLING-5437) The NoSQL providers should throw LoginException if the connection to the NoSQL database can't be established

     [ https://issues.apache.org/jira/browse/SLING-5437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert reassigned SLING-5437:
-------------------------------------

    Assignee: Stefan Seifert  (was: Robert Munteanu)

yes, this makes sense. we'll have to update the package version. we then should update the bundle version of the generic bundle as well, at least to 1.1 or to 2.0.

i will commit your patch and add support for couchbase as well.

> The NoSQL providers should throw LoginException if the connection to the NoSQL database can't be established
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-5437
>                 URL: https://issues.apache.org/jira/browse/SLING-5437
>             Project: Sling
>          Issue Type: New Feature
>          Components: NoSQL
>    Affects Versions: NoSQL Generic Resource Provider 1.0.0, NoSQL Couchbase Resource Provider 1.0.0, NoSQL MongoDB Resource Provider 1.0.0
>            Reporter: Robert Munteanu
>            Assignee: Stefan Seifert
>             Fix For: NoSQL Generic Resource Provider 1.0.2, NoSQL Couchbase Client 1.0.2, NoSQL MongoDB Resource Provider 1.0.2
>
>         Attachments: 0001-SLING-5437-The-NoSQL-providers-should-throw-LoginExc.patch
>
>
> While trying to find a proper test for SLING-5217, I noticed that the NoSQL providers don't check the connection when the ResourceProvider is instantiated. Therefore the ResourceProvider is always considered valid and when access is attempted exceptions are thrown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)