You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2010/08/24 17:17:42 UTC

[jira] Updated: (COUCHDB-869) commonjs implementation creates circular references in the design document

     [ https://issues.apache.org/jira/browse/COUCHDB-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Anderson updated COUCHDB-869:
-----------------------------------

    Attachment: commonjs_circular_ref.diff

test case for design doc circular references

> commonjs implementation creates circular references in the design document
> --------------------------------------------------------------------------
>
>                 Key: COUCHDB-869
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-869
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>            Reporter: Chris Anderson
>             Fix For: 1.0.2
>
>         Attachments: commonjs_circular_ref.diff
>
>
> this prevents JSON.stringify(this) from working in show functions, as the JSON.stringify function gets too much recursion. The culprit is the parent references created by our CommonJS implementation.
> test attached

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