curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Dyas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-273) Namespaces cannot start with /
Date Tue, 20 Oct 2015 19:39:27 GMT
Tom Dyas created CURATOR-273:
--------------------------------

             Summary: Namespaces cannot start with /
                 Key: CURATOR-273
                 URL: https://issues.apache.org/jira/browse/CURATOR-273
             Project: Apache Curator
          Issue Type: Bug
          Components: Client
    Affects Versions: 2.9.0
            Reporter: Tom Dyas
            Priority: Minor


Not so much of a bug as an API quirk: It is an error for namespaces to start with a / since
Curator will always blindly append a / in front of the namespace. For example, see `curator-framework/src/main/java/org/apache/curator/framework/imps/NamespaceImpl.java`.
Any reason why namespaces starting with a / are not supported? This requires application code
to know whether the namespace starts with a / or not.




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

Mime
View raw message