You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Ryan Richt (JIRA)" <ji...@apache.org> on 2011/02/01 23:27:29 UTC

[jira] Created: (COUCHDB-1053) missing_named_view for map-only views w/ reduce=false

missing_named_view for map-only views w/ reduce=false
-----------------------------------------------------

                 Key: COUCHDB-1053
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
             Project: CouchDB
          Issue Type: Bug
          Components: JavaScript View Server
    Affects Versions: 1.0
         Environment: OSX, prebuilt
            Reporter: Ryan Richt
            Priority: Trivial


Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) I believe, a view that has a defined but invalid reduce function

{"error":"not_found","reason":"missing_named_view"}

Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (COUCHDB-1053) missing_named_view for reduce fxns that compile but throw runtime errors

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

Ryan Richt updated COUCHDB-1053:
--------------------------------

    Description: 
Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) a view that has a defined, compile-time valid, but run-time invalid reduce function. So if your reduce function throws a TypeError, you get this cryptic error (cryptic b/c so many problems yield the same error) instead of an error to that effect. Errors do show up in the log, and this is what the view gives:

{"error":"not_found","reason":"missing_named_view"}

Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

  was:
Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) I believe, a view that has a defined but invalid reduce function

{"error":"not_found","reason":"missing_named_view"}

Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

        Summary: missing_named_view for reduce fxns that compile but throw runtime errors  (was: missing_named_view for map-only views w/ reduce=false)

> missing_named_view for reduce fxns that compile but throw runtime errors
> ------------------------------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) a view that has a defined, compile-time valid, but run-time invalid reduce function. So if your reduce function throws a TypeError, you get this cryptic error (cryptic b/c so many problems yield the same error) instead of an error to that effect. Errors do show up in the log, and this is what the view gives:
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (COUCHDB-1053) missing_named_view for map-only views w/ reduce=false

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989419#comment-12989419 ] 

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

Yep. Fixed in 1.0.2

    * Allow reduce=false parameter in map-only views

http://couchdb.apache.org/downloads.html

> missing_named_view for map-only views w/ reduce=false
> -----------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) I believe, a view that has a defined but invalid reduce function
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (COUCHDB-1053) missing_named_view for map-only views w/ reduce=false

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

Paul Joseph Davis resolved COUCHDB-1053.
----------------------------------------

       Resolution: Not A Problem
    Fix Version/s: 1.0.2

Oh look, comments for resolving. And its in a lightbox. New JIRA is so future.

> missing_named_view for map-only views w/ reduce=false
> -----------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) I believe, a view that has a defined but invalid reduce function
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (COUCHDB-1053) missing_named_view for reduce fxns that compile but throw runtime errors

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

Jan Lehnardt updated COUCHDB-1053:
----------------------------------

    Fix Version/s:     (was: 1.2)
                   1.3

Bump to 1.3.x.
                
> missing_named_view for reduce fxns that compile but throw runtime errors
> ------------------------------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.3
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) a view that has a defined, compile-time valid, but run-time invalid reduce function. So if your reduce function throws a TypeError, you get this cryptic error (cryptic b/c so many problems yield the same error) instead of an error to that effect. Errors do show up in the log, and this is what the view gives:
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (COUCHDB-1053) missing_named_view for reduce fxns that compile but throw runtime errors

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

Ryan Richt reopened COUCHDB-1053:
---------------------------------


> missing_named_view for reduce fxns that compile but throw runtime errors
> ------------------------------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) a view that has a defined, compile-time valid, but run-time invalid reduce function. So if your reduce function throws a TypeError, you get this cryptic error (cryptic b/c so many problems yield the same error) instead of an error to that effect. Errors do show up in the log, and this is what the view gives:
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (COUCHDB-1053) missing_named_view for map-only views w/ reduce=false

Posted by "Ryan Richt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989425#comment-12989425 ] 

Ryan Richt commented on COUCHDB-1053:
-------------------------------------

confirm that #2. You also get the error on a view whose map works perfectly well, but that has a malformed reduce function a la:

Log :: function raised exception (new TypeError("keys.reduce is not a function", ""))

Especially confusing in that case.

> missing_named_view for map-only views w/ reduce=false
> -----------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) I believe, a view that has a defined but invalid reduce function
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (COUCHDB-1053) missing_named_view for map-only views w/ reduce=false

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989428#comment-12989428 ] 

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

Oh missed that second point. Yeah, feel free to reopen and edit the title to be more specific to that and someone will get on it.

> missing_named_view for map-only views w/ reduce=false
> -----------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.0
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.0.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) I believe, a view that has a defined but invalid reduce function
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (COUCHDB-1053) missing_named_view for reduce fxns that compile but throw runtime errors

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

Paul Joseph Davis updated COUCHDB-1053:
---------------------------------------

    Affects Version/s:     (was: 1.0)
        Fix Version/s:     (was: 1.0.2)
                       1.2

> missing_named_view for reduce fxns that compile but throw runtime errors
> ------------------------------------------------------------------------
>
>                 Key: COUCHDB-1053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1053
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>         Environment: OSX, prebuilt
>            Reporter: Ryan Richt
>            Priority: Trivial
>             Fix For: 1.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) a view that has a defined, compile-time valid, but run-time invalid reduce function. So if your reduce function throws a TypeError, you get this cryptic error (cryptic b/c so many problems yield the same error) instead of an error to that effect. Errors do show up in the log, and this is what the view gives:
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira