couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: View cleanup failure - badmatch
Date Wed, 19 Jan 2011 22:06:31 GMT
You should fill out an issue on JIRA so we go back to that. I reckon
the best thing would probably be to just ignore when a design doc has
parameters we use that are the wrong type but who ever writes that
patch can decide what's easiest.

On Wed, Jan 19, 2011 at 5:01 PM, Chris Stockton
<chrisstocktonaz@gmail.com> wrote:
> I found the issue, sent send a bit to fast on that. After making the
> "views" property a object, everything works fine. So, I think at this
> point I know how to rectify the issue on my end, although not a small
> undertaking converting all the existing customer design docs. If you
> guys know a work around to changing the views property I am interested
> (parameter etc). My only remaining thought is maybe we could get a
> better error message :D
>
> Thanks again for all the prompt help,
>
> -Chris
>
> On Wed, Jan 19, 2011 at 2:57 PM, Chris Stockton
> <chrisstocktonaz@gmail.com> wrote:
>> Hello,
>>
>> On Wed, Jan 19, 2011 at 2:51 PM, Paul Davis <paul.joseph.davis@gmail.com> wrote:
>>> Do you happen to have a field on one of your design docs named
>>> "options" in either the root scope or at a view scope that is an
>>> array? Or even perhaps a "views" member in the root namespace that is
>>> an array?
>>>
>>
>> Thanks to the response from you and Robert I did some additional
>> troubleshooting and narrowed it down to a single document:
>>
>> {
>>   "_id": "_design/model_M4d377a6d5ac7c",
>>   "_rev": "1-f547b13b01c102516804ca24226e6f81",
>>   "describe": [
>>   ],
>>   "language": "javascript",
>>   "name": "TestTable",
>>   "staleMode": false,
>>   "state": [
>>   ],
>>   "views": [
>>   ],
>>   "columnIndex": 0,
>>   "created": 1295481453.3825
>> }
>>
>> I will start removing properties till I see the culprit.
>>
>> Thanks for the quick responses guys!
>>
>> -Chris
>>
>

Mime
View raw message