couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Dieter Pearcey <>
Subject Re: mapping on a key that doesn't exist
Date Tue, 13 May 2008 21:48:11 GMT
On Tue, May 13, 2008 at 02:44:45PM -0700, Bob Briski wrote:
> It's not that the view isn't created, but accessing the view results  
> in an error.
> Even after the view is created, if a doc is added that doesn't  
> include a field in the key, the same error is thrown.

The view is created because it's a valid Javascript function.

I would guess that the json encoder used by the view server doesn't know what
to do with an undefined (not null) value.

(I don't know enough to suggest what it *should* do.)


View raw message