You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2013/07/02 00:56:20 UTC

[jira] [Updated] (COUCHDB-1362) couchjs doesn't clean out global namespace between views calls

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

Alexander Shorin updated COUCHDB-1362:
--------------------------------------

    Component/s: JavaScript View Server
    
> couchjs doesn't clean out global namespace between views calls
> --------------------------------------------------------------
>
>                 Key: COUCHDB-1362
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1362
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: jay groven
>            Priority: Minor
>
> Sometimes a view can access the functions that were defined in a previous view.  This can lead a developer to think that function sharing has been implemented, but it's not reliable behaviour.  It would be better if the global namespace were cleared between map/reduce runs so that it's clear that there is no reliable way to share functions between views.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira