incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Närhinen <nik...@narhinen.net>
Subject Upgrading from 1.1.0 to 1.1.1 views stopped working
Date Wed, 07 Dec 2011 08:58:11 GMT
Hi,
it seems something has changed in the way how couchdb transforms the 
json strings to map etc functions.

Here is what I'm getting after upgrading to 1.1.1 and querying a view 
(in futon):

Error: compilation_error

Expression does not eval to a function. ((new String("function(doc) 
{\n\tif (doc.type && doc.type == \"care_target\") 
{\n\t\temit([doc.customer, doc.name], {name: doc.name});\n\t}\n}")))

Any ideas? (btw, both 1.1.0 and 1.1.1 are from debian unstable)

Niklas

Mime
View raw message