lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

ViewServer dies on View with map and reduce but no mapped emitted records die when reduce isn't called #163

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a view with a map and a reduce function.  The map should yield no 
records.
2. Call the view via couchdb, with ?reduce=false
3. Observe minor explosion.

What is the expected output? What do you see instead?
I expect to see an empty view result.
I see an error.

What version of the product are you using? On what operating system?
couchdb-python 0.8
couchdbx 1.0.1.1
os x 10.6.5
python 2.6.5 and python 2.7.1

Please provide any additional information below.

Original issue reported on code.google.com by nodswo...@gmail.com on 26 Jan 2011 at 10:02

GoogleCodeExporter commented 8 years ago
The is the bug in the view server. I've use small path to fix it. Patch is 
attached.

Original comment by daevaorn on 28 Jan 2011 at 9:32

GoogleCodeExporter commented 8 years ago
Could you please write a test for this?

Original comment by djc.ochtman on 28 Feb 2011 at 12:11

GoogleCodeExporter commented 8 years ago
Added tests to patch.

***

Dirkjan, I have many other patches for couchdb-python. Can we make some sort of 
sprint to watch on it and try to apply.

Original comment by daevaorn on 13 Mar 2011 at 5:24

Attachments:

GoogleCodeExporter commented 8 years ago
If you have many other patches, please make issues for them in the tracker so 
they can be reviewed... I go through the issues regularly to see which ones I 
think we can take, which I did on Feb 28, for example.

Original comment by djc.ochtman on 14 Mar 2011 at 8:26

GoogleCodeExporter commented 8 years ago
Hi. I just got hit by the same problem. I cloned hg repository, and was really 
surprised that the fix is not yet applied. Am I missing something ? 

Original comment by mkowal...@flumotion.com on 31 May 2011 at 7:40

GoogleCodeExporter commented 8 years ago
Fixed in r77f4db4628bf, thanks.

Original comment by matt.goo...@gmail.com on 4 Jun 2011 at 5:14

GoogleCodeExporter commented 8 years ago

Original comment by matt.goo...@gmail.com on 4 Jun 2011 at 5:17