RobWC / FAQManager

Tool to manage an FAQ
2 stars 0 forks source link

When new category is added, its data does not show #37

Closed aditis closed 13 years ago

aditis commented 13 years ago

for eg: category: Designs - Not able to see data added to this new category.

RobWC commented 13 years ago

Seeing DB error {"code":500,"error":"unknown_error","reason":"dead_shards"}. Need to review further.

RobWC commented 13 years ago

Opened up a ticket with Cloudant to see if they can fix it

aditis commented 13 years ago

Thanks. Will wait up.

RobWC commented 13 years ago

I fixed this. I moved hosting providers.

aditis commented 13 years ago

This issue still persists. Added new category Test-unable to see its data (similar behavior seen with other newly added category: Designs)

aditis commented 13 years ago

Unable to View content in recently created category (TEST and DESIGNS). however, The count for "Total number of questions" is increasing.

RobWC commented 13 years ago

I fixed the issue with designs. I need to fix this for the rest of the categories.

aditis commented 13 years ago

Verified. Fixed for Designs, (not for test category)

RobWC commented 13 years ago

function(doc) { if (doc.category == "Designs") { emit(doc._id, doc); } else if (doc.category.length != 0) { var i; for (i in doc.category) { if (doc.category[i] == "Designs") { emit(doc._id, doc); } } } }

"function(doc) {if (doc.category == \"Designs\") {emit(doc._id, doc);} else if (doc.category.length != 0) {var i;for (i in doc.category) {if (doc.category[i] == \"Designs\") {emit(doc._id, doc);}}}}"

aditis commented 13 years ago

Issue is still seen with newly added category: SNMP

RobWC commented 13 years ago

I will fix this when I redo the category page. Leave this open for tracking.

aditis commented 13 years ago

Issue fixed. Able to add and view contents of newly added category.