Robert Munteanu created SLING-5437:
--------------------------------------
Summary: 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 MongoDB Resource Provider 1.0.0, NoSQL Couchbase
Resource Provider 1.0.0, NoSQL Generic Resource Provider 1.0.0
Reporter: Robert Munteanu
Assignee: Robert Munteanu
Fix For: NoSQL Generic Resource Provider 1.0.2, NoSQL Couchbase
Client 1.0.2, NoSQL MongoDB Resource Provider 1.0.2
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)