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:40 UTC

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

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.


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

Posted by "J Chris Anderson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Comment: was deleted

(was: I just had a beautiful baby girl named Irma, so I don't plan to
respond to mail, except occasionally if it's a fun one.

If you have an urgent request, please CC hello@couch.io and we'll make
sure someone reads it.

Thanks,
Chris

PS. Please let me know if this responder is hitting mailing lists,
that would be lame.

-- 
Chris Anderson http://jchrisa.net
--
couch.io
)

> 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.


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

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Anderson resolved COUCHDB-869.
------------------------------------

    Resolution: Fixed

fixed in r996266 and r996267

> 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.


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

Posted by "J Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908431#action_12908431 ] 

J Chris Anderson commented on COUCHDB-869:
------------------------------------------

I just had a beautiful baby girl named Irma, so I don't plan to
respond to mail, except occasionally if it's a fun one.

If you have an urgent request, please CC hello@couch.io and we'll make
sure someone reads it.

Thanks,
Chris

PS. Please let me know if this responder is hitting mailing lists,
that would be lame.

-- 
Chris Anderson http://jchrisa.net
--
couch.io


> 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.


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

Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "J Chris Anderson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901926#action_12901926 ] 

J Chris Anderson commented on COUCHDB-869:
------------------------------------------

I just had a beautiful baby girl named Irma, so I don't plan to
respond to mail, except occasionally if it's a fun one.

If you have an urgent request, please CC hello@couch.io and we'll make
sure someone reads it.

Thanks,
Chris

PS. Please let me know if this responder is hitting mailing lists,
that would be lame.

-- 
Chris Anderson http://jchrisa.net
--
couch.io


> 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.