couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Stanford (JIRA)" <>
Subject [jira] Commented: (COUCHDB-646) JSON object hidden from the sandbox for show and list
Date Fri, 19 Feb 2010 00:36:27 GMT


Cliff Stanford commented on COUCHDB-646:

json2.js has a Date.toJSON prototype.  But it won't overwrite an existing one.  The solution
may be simply to let it walk over the inbuilt prototype which, presumably, doesn't work.

Just taking out line 173 (and the }, obviously) would probably do the trick.

> JSON object hidden from the sandbox for show and list
> -----------------------------------------------------
>                 Key: COUCHDB-646
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 0.11
>         Environment: CouchDB built from head.  Ubuntu. JavaScript-C 1.7.0 2007-10-03
>            Reporter: Cliff Stanford
> Three issues that I think are related so I have opened them as a single ticket.
> TheJSON object defined in main.js appears not to be available any more in show and list.
 I believe it was in a previous release.
> The form object.toJSON() does not seem to be working in show and list.
> var d = new Date(); toJSON(d) returns {} rather than a string.  This also seems to be
affecting views.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message