[MB-6978] inconsistency on the UI on the view screen between beer-sample and default bucket views Created: 21/Oct/12  Updated: 01/Nov/12  Resolved: 26/Oct/12

Status: Closed
Project: Couchbase Server
Component/s: UI
Affects Version/s: 2.0-beta
Fix Version/s: 2.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Sharon Barr (Inactive) Assignee: Aleksey Kondratenko
Resolution: Fixed Votes: 0
Labels: usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Default-beer bucket-view confustion.png    

1. Create the beer sample bucket.
2. Go to the view tabs, select beer-sample bucket and verify that there are 2 production views (1 DD).
3. Go to the bucket screen and select the default bucket
4. Go back to the view tab. the selected bucket is now default, however, it still shows the production views of the beer-sample bucket, although the default bucket has no views.
Moreover, if you do copy-to-dev, it will copy the beer-sample buckets to the default bucket dev.

I consider it as blocker, it is very confusing and has user experience (developers) impact.

Comment by Sharon Barr (Inactive) [ 21/Oct/12 ]
another very confusing side effect,
if you are on the above scenario case, where you see the bear-sample views while on the default bucket, selecting edit view shows the views, with a strange error:
{"error":"not_found","reason":"Design document _design/beer not found"}

the reason for this error is that we run the beer-sample view on the default bucket data, which has not data at this point (of my usage).
Comment by Sharon Barr (Inactive) [ 21/Oct/12 ]
Screenshot of the error corresponding to the second comment.
Comment by Deepkaran Salooja [ 22/Oct/12 ]
Similar issue http://www.couchbase.com/issues/browse/MB-6897
Comment by Farshid Ghods (Inactive) [ 22/Oct/12 ]
assigning to Yaseen to prioritize this ticket.

this does not impact cluster's state so candidate for 2.0.1 but as mentioned in the ticket it could be confusing for developers and users who use couchbase 2.0 views after loading sample data.
btw - this is not a regression.
Comment by Aleksey Kondratenko [ 22/Oct/12 ]
I'll be happy to fix. Most likely this is trivial thing. But I tried and was unable to reproduce. Can you elaborate? Or perhaps just visit my desk and show me ?
Comment by Aleksey Kondratenko [ 22/Oct/12 ]
Actually, I now can reproduce. Fill fix. Thanks for pointing this out.
Comment by Steve Yen [ 23/Oct/12 ]
changing priority per bug scrub review, but wouldn't block the release
Comment by Aleksey Kondratenko [ 26/Oct/12 ]
Fix is in gerrit and approved
Comment by Deepkaran Salooja [ 01/Nov/12 ]
Verified with build 1926.
Generated at Sat Oct 25 00:47:01 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.