Package: couchdb
Version: 1.1.0-2+b1
Followup-For: Bug #644545

Hi all,

Just writing to report a workaround.

Thank you Michael for finding the upstream bug!

The workaround to this issue is to wrap your map/reduce functions
in perens. ie instead of:

        function(doc) {
                emit(null, doc);
        }

you do:

        (function(doc) {
                emit(null, doc);
        })

Works for me anyway. Both from the temporary view thing in futon
and with saved design documents via the http API (via node-cradle).



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages couchdb depends on:
ii  adduser              3.113          
ii  erlang-base          1:14.b.3-dfsg-2
ii  erlang-crypto        1:14.b.3-dfsg-2
ii  erlang-eunit         1:14.b.3-dfsg-2
ii  erlang-inets         1:14.b.3-dfsg-2
ii  erlang-ssl           1:14.b.3-dfsg-2
ii  erlang-syntax-tools  1:14.b.3-dfsg-2
ii  erlang-tools         1:14.b.3-dfsg-2
ii  erlang-xmerl         1:14.b.3-dfsg-2
ii  libc6                2.13-21        
ii  libcurl3             7.21.7-3       
ii  libicu44             4.4.2-2        
ii  libjs-jquery         1.6.4-1        
ii  libjs-jquery-form    4-1            
ii  libmozjs7d           7.0.1-4        
ii  lsb-base             3.2-28         
ii  mawk                 1.3.3-15       
ii  procps               1:3.2.8-11     

couchdb recommends no packages.

couchdb suggests no packages.

-- Configuration Files:
/etc/couchdb/local.ini changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to