Skip to content
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

Error validating doc when calling SendMessage #2

Open
zdzolton opened this issue Jul 7, 2011 · 2 comments
Open

Error validating doc when calling SendMessage #2

zdzolton opened this issue Jul 7, 2011 · 2 comments

Comments

@zdzolton
Copy link

zdzolton commented Jul 7, 2011

Hi again,

Now, I'm able to successfully call ListQueues and CreateQueue, but when I attempt to call SendMessage I get the following error message:

https://gist.github.com/gists/1068652

I feel like you don't wanna escape the backslash there, in /^CQS\\\\//, but I'm not sure how this goes together.

Cheers,

Zach

@zdzolton
Copy link
Author

zdzolton commented Jul 7, 2011

BTW, I was able to eliminate these errors by changing the regular expression literals in ddoc.js into new RegExp() instances.

@jhs
Copy link
Owner

jhs commented Aug 30, 2011

I never saw this issue until just now!

I believe this is because the Javascript I use in CouchDB is different from yours. I will integrate your change to make it as generally useful as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants