cqs icon indicating copy to clipboard operation
cqs copied to clipboard

Error validating doc when calling SendMessage

Open zdzolton opened this issue 13 years ago • 2 comments

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 avatar Jul 07 '11 00:07 zdzolton

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

zdzolton avatar Jul 07 '11 19:07 zdzolton

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.

jhs avatar Aug 30 '11 00:08 jhs