Picon

[jira] [Closed] (COUCHDB-648) _update handler ignores "code" in response doc


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

Randall Leeds closed COUCHDB-648.
---------------------------------

    Resolution: Fixed

Fixed on trunk in r1177890.
Fixed on 1.2.x in r1177891.
Fixed on 1.1.x in r1177892.

> _update handler ignores "code" in response doc
> ----------------------------------------------
>
>                 Key: COUCHDB-648
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-648
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>         Environment: CouchDB from HEAD
>            Reporter: Cliff Stanford
>            Assignee: Randall Leeds
>              Labels: update
>             Fix For: 1.1.1, 1.2
>
>         Attachments: 0001-Document-update-handlers-now-honor-code-in-response-.patch, test.diff
>
>
(Continue reading)

Picon

[jira] [Closed] (COUCHDB-990) Update handlers ignore HTTP status codes in responses


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

Randall Leeds closed COUCHDB-990.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2
                   1.1.1

Fixed on trunk in r1177890.
Fixed on 1.2.x in r1177891.
Fixed on 1.1.x in r1177892.

> Update handlers ignore HTTP status codes in responses
> -----------------------------------------------------
>
>                 Key: COUCHDB-990
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-990
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0.1
>         Environment: OSX, built using brew
>            Reporter: Nick Fisher
>             Fix For: 1.1.1, 1.2
>
>
> The following update handler will always return 200
(Continue reading)

Picon

[jira] [Created] (COUCHDB-1300) Array.prototype isn't getting set.

Array.prototype isn't getting set.
----------------------------------

                 Key: COUCHDB-1300
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1300
             Project: CouchDB
          Issue Type: Bug
          Components: JavaScript View Server
    Affects Versions: 1.1
         Environment: Ubuntu 11.04, node.couchapp, commonJS
            Reporter: paul iannazzo

##file helpers.js in views/lib/common
const _ = require("views/lib/underscore");
Array.prototype.compact = function(){return _.compact(this);};
Array.prototype.flatten = function(){return _.flatten(this);};

//this function is called from views.someName.map
function commonProperties(doc){
    arr = [];
    arr = arr.compact();
    log(arr);
    log("is array?");
    log(toString.call(doc.store.taxes));
    log(doc.store.taxes);
    //log(doc.store.taxes.compact());
    log("is safe array?");
    log(toString.call(safe.array(doc.store.taxes)));
    log(safe.array(doc.store.taxes));
   //log(safe.array(doc.store.taxes).compact());
(Continue reading)

Picon

[jira] [Updated] (COUCHDB-1300) Array.prototype isn't working properly


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

paul iannazzo updated COUCHDB-1300:
-----------------------------------

    Summary: Array.prototype isn't working properly  (was: Array.prototype isn't getting set.)

> Array.prototype isn't working properly
> --------------------------------------
>
>                 Key: COUCHDB-1300
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1300
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.1
>         Environment: Ubuntu 11.04, node.couchapp, commonJS
>            Reporter: paul iannazzo
>              Labels: javascript, patch
>
> ##file helpers.js in views/lib/common
> const _ = require("views/lib/underscore");
> Array.prototype.compact = function(){return _.compact(this);};
> Array.prototype.flatten = function(){return _.flatten(this);};
> //this function is called from views.someName.map
> function commonProperties(doc){
>     arr = [];
>     arr = arr.compact();
(Continue reading)

Picon

[jira] [Resolved] (COUCHDB-690) replication fail -- couchdb crashed


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

Paul Joseph Davis resolved COUCHDB-690.
---------------------------------------

    Resolution: Cannot Reproduce

0.10 is super old. The attached logs don't show anything more than an ibrowse connection timing out during
replication which isn't informative to debug this even if someone wanted to.

If someone can reproduce similar error conditions on a version that still is still actively supported then
please create a new issue for it.

> replication fail -- couchdb crashed
> -----------------------------------
>
>                 Key: COUCHDB-690
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-690
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 0.10.1
>         Environment: linux  2.6.30.7 - debian 5.0
>            Reporter: linkfluence
>            Priority: Critical
>              Labels: couchdb, replication
>         Attachments: couch.log
>
(Continue reading)

Picon

[jira] [Commented] (COUCHDB-1285) Allow configuration of vendor and module version in the welcome message


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

Paul Joseph Davis commented on COUCHDB-1285:
--------------------------------------------

+1 though do you need a ?l2b(Key) when grabbing stuff from the config? The values have it. I don't remember
autoconverting keys from strings, but I could be mistaken.

> Allow configuration of vendor and module version in the welcome message
> -----------------------------------------------------------------------
>
>                 Key: COUCHDB-1285
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1285
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Jan Lehnardt
>         Attachments: vendor_and_modules_objects.patch
>
>
> The patch below allows to configure vendor and module version information into the GET / welcome message.
> E.g.
>   [vendor]
>   name = refuge
>   version = 2.0.0
>   
>   [modules]
>   geocouch = 1.2.1
(Continue reading)

Picon

[jira] [Commented] (COUCHDB-1300) Array.prototype isn't working properly


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

Filipe Manana commented on COUCHDB-1300:
----------------------------------------

Hi, there's a reason for that, and it's exactly the same reason why "foo instanceof Array" fails when foo is
created in a browser iframe and the previous expression evaluated in another iframe which is accessing
that array.

For couch, the user document is json decoded in one javascript context and the map function ran against the
document is executed in another context (a sandbox). Each context has its own Array constructor.

                
> Array.prototype isn't working properly
> --------------------------------------
>
>                 Key: COUCHDB-1300
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1300
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.1
>         Environment: Ubuntu 11.04, node.couchapp, commonJS
>            Reporter: paul iannazzo
>              Labels: javascript, patch
>
> ##file helpers.js in views/lib/common
(Continue reading)

Picon

[jira] [Commented] (COUCHDB-1300) Array.prototype isn't working properly


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

paul iannazzo commented on COUCHDB-1300:
----------------------------------------

I found a workaround (i guess solution in this case) to my problem.
instead of using array prototypes i can get the same functionality via monads (specifically the
underscore library).

anyway, i found this issue very confusing.

thank you for your quick response.

> Array.prototype isn't working properly
> --------------------------------------
>
>                 Key: COUCHDB-1300
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1300
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.1
>         Environment: Ubuntu 11.04, node.couchapp, commonJS
>            Reporter: paul iannazzo
>              Labels: javascript, patch
>
> ##file helpers.js in views/lib/common
(Continue reading)

Picon

[jira] [Resolved] (COUCHDB-1300) Array.prototype isn't working properly


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

Paul Joseph Davis resolved COUCHDB-1300.
----------------------------------------

    Resolution: Not A Problem

> Array.prototype isn't working properly
> --------------------------------------
>
>                 Key: COUCHDB-1300
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1300
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.1
>         Environment: Ubuntu 11.04, node.couchapp, commonJS
>            Reporter: paul iannazzo
>              Labels: javascript, patch
>
> ##file helpers.js in views/lib/common
> const _ = require("views/lib/underscore");
> Array.prototype.compact = function(){return _.compact(this);};
> Array.prototype.flatten = function(){return _.flatten(this);};
> //this function is called from views.someName.map
> function commonProperties(doc){
>     arr = [];
>     arr = arr.compact();
(Continue reading)

Picon

[jira] [Updated] (COUCHDB-893) Error: os_process_error {exit_status,0} when rendering view on 17 mb doc, couchapp and data attached


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

Randall Leeds updated COUCHDB-893:
----------------------------------

    Attachment: 0001-improve-argument-parsing-in-couchjs.patch

Patch that exposes the --stack-size option Paul made available in the SpiderMonkey 1.8.5 work by removing
the couchjs script and moving argument parsing entirely into the couchjs binary application.

> Error: os_process_error  {exit_status,0}  when rendering view on 17 mb doc,  couchapp and data attached
> -------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-893
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-893
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: I repeated this on windows and linux (64 bit)
>            Reporter: Michael Schneider
>            Assignee: Randall Leeds
>             Fix For: 1.1.1, 1.2
>
>         Attachments: 0001-improve-argument-parsing-in-couchjs.patch, bugdoc.tar.gz
>
>
> I have a large set of documents that  I harvesting data from.  All docs < 9mb render fine (with doc size increased)
> Attached is a simple couchapp and one doc.
(Continue reading)


Gmane