couchdb-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/COUCHDB-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835529#action_12835529
] 

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: https://issues.apache.org/jira/browse/COUCHDB-646
>             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.


Mime
View raw message