[
https://issues.apache.org/jira/browse/COUCHDB-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Lehnardt resolved COUCHDB-934.
----------------------------------
Resolution: Not A Problem
Works as advertised :)
> inside a design doc, a broken view makes all others views fail
> --------------------------------------------------------------
>
> Key: COUCHDB-934
> URL: https://issues.apache.org/jira/browse/COUCHDB-934
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Affects Versions: 1.0.1
> Environment: All
> Reporter: Mickael Bailly
> Priority: Minor
>
> If a design document got a broken view, all other views don't work anymore.
> Steps to reproduce :
> 1/ create a new database
> 2/ Create a design doc :
> {
> "_id": "_design/doc1",
> "views": {
> "v1": {
> "map": "function() {}"
> },
> "v2": {
> "map": "thefunction() {}"
> }
> },
> "language": "javascript"
> }
> 3/ Create a doc :
> {
> "_id": "doc1"
> }
> 4/ Call the "v1" view
> It's annoying because :
> - we're unable to know what view fails to run
> - a fix on the broken view will result in the rebuilding of all other views
> of the design doc.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira