Affects Version/s: 0.9
Fix Version/s: None
OS: EEEubuntu (based on Ubuntu 8.10). Hardware: EEE PC 904hd. Browser: Firefox 3.0.5.
Skill Level:Regular Contributors Level (Easy to Medium)
1. Browse to http://localhost:5984/_utils/
2. Open a database
3. Change the view to "Custom Query..."
4. In the view code section:
change: emit(null, doc);
to: emit(null, doc
5. Click "Run"
The page returns with an empty table below the query editor.
The page should return showing a message like "Error in view. Missing ')' after doc, line 3"
The http response was 200 OK, where it should've been a 400 - Bad Request.