Marcello Barnaba created COUCHDB-1636:
-----------------------------------------

             Summary: Design documents missing the 
                 Key: COUCHDB-1636
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1636
             Project: CouchDB
          Issue Type: Bug
          Components: Futon
            Reporter: Marcello Barnaba


As reported by Lleïr, it is not possible to update a materialized view if its 
design document does not contain a language property.

For instance, if trying to change this design document view code in the view 
editing page, when hitting "Save" the following error occurs:

Cannot save view because the design document language is "undefined", not 
"javascript".
If the language can be undefined, then couchdb treats it as javascript, as 
shown in the source code - so, the futon should implement the same behaviour.


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

Reply via email to