View not rendering

I have a view, very simple:

function (doc, meta) {
if(doc.type == ‘tag’){
emit(meta.id, null);
}
}

Which renders just fine in the ‘development time subset’, but when I look at the full query data set, it doesn’t show anything. If I move it to production neither. I’ve tried to refresh a couple of times.

I do have a large set documents of this type, which also have an attribute ‘title’ that will contain a string of text. Could it be that some characters in those title strings are messing up the view/json representation? such as a single quote, for instance?

Also, any good method for debugging?

edit: fun fact; when indexing my tags design document, consisting of two views - it goes up to 45% and then stops silently.

edit: found some logs, not sure if helpful

lient-side error-report for user “wdev” on node ‘ns_1@192.168.178.132’:
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.10 Safari/537.36
Got unhandled error: Uncaught ReferenceError: ensureBucket is not defined
At: http://192.168.178.132:8091/js/cells.js:64
Backtrace:
Function: collectBacktraceViaCaller
Args:


Function: appOnError
Args:
“Uncaught ReferenceError: ensureBucket is not defined”
"http://192.168.178.132:8091/js/cells.js"
64
35
{}

(repeated 2 times) menelaus_web102 ns_1@192.168.178.132 09:09:47 - Wed Aug 21, 2013

After some digging found the culprit. A other map in the design document that comes before this map was outdated and looking for non existing arrays. So it failed silently. After digging through logs that is what became apparent.

Might be good to display error logs in the GUI when an index fails

When you say another map, you are saying in another view? or in the same view?
Can you explain with more detail?

Also which version of Couchbase Server are you using? (I remember seing this behavior in 2.0.0 but for me it is fixed since 2.0.1)

Any news?