You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2016/08/09 16:18:20 UTC

[jira] [Created] (CURATOR-343) Schema exceptions need more context

Jordan Zimmerman created CURATOR-343:
----------------------------------------

             Summary: Schema exceptions need more context
                 Key: CURATOR-343
                 URL: https://issues.apache.org/jira/browse/CURATOR-343
             Project: Apache Curator
          Issue Type: Improvement
          Components: Framework
            Reporter: Jordan Zimmerman
            Priority: Minor


Current schema violations look like this:

```
Schema violation: Data is not valid for schema: Schema{name='950eb5e3-b64f-43a4-833e-4262be0f3018', pathRegex=/clusters/.*, path='null', documentation='', dataValidator=InternalSchemaValidator(List(root, ip, readonly)), ephemeral=CAN, sequential=CAN, watched=CAN, canBeDeleted=true, metadata={*=1, allocators=1}}
```

It lacks information about the invalid aspect. It merely shows what was expected.



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