-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing uuid key on status endpoint (unsupported couchdb version?) #76
Comments
FWIW I've continued using the library against the same version of couchdb and so far found no issues, so it looks like the potentially absent uuid is a singular oversight. |
@beloglazov Thanks for reminding me about this; I just saw your message from a couple of weeks ago on another issue I raised, and had a crack at addressing this one as it's the most straightforward. Unfortunately, it looks like your tests are quite tightly bound to wording in old versions of couchdb though, so while it was trivial to fix this, running the tests against the latest couchdb shows a lot of problems because of some changed error messages:
I can submit a PR with my change, but since it's only useful for a version of couchdb where your tests are widely failing, I think that's a bigger problem. Largely the errors are to do with error messages changing, so I'd suggest you try to eliminate some of the dependence on precise wording (usually a good idea for any test to avoid relying on information aimed for humans to read), however it looks like some other API details may have changed, so the library probably needs an update in some areas beside this optional uuid thing:
|
I've created #82 to track this separately so that it doesn't get confusing. |
I don't see a stated couchdb version supported for this library so I'm not sure if I'm simply using a version for which this library wasn't designed, but I just tried playing with it for the first time and got this exception:
It's expecting a
uuid
field in the couchdb response, but the/
endpoint on this version of couchdb isn't providing one. You can see the full details of the couchdb version in the stack trace there, but for easier reading:The text was updated successfully, but these errors were encountered: