[MB-7011] Number of Documents per page specified in the top right corner on the Documents page does not match the number of documents actually presented to the user. Created: 25/Oct/12  Updated: 01/Nov/12  Resolved: 01/Nov/12

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

Type: Bug Priority: Major
Reporter: Deepti Dawar Assignee: Pavel Blagodov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: 1895 - <?xml version="1.0" encoding="UTF-8" ?>
- <manifest>
  <remote name="couchbase" fetch="git://github.com/couchbase/" />
  <remote name="membase" fetch="git://github.com/membase/" />
  <remote name="apache" fetch="git://github.com/apache/" />
  <remote name="erlang" fetch="git://github.com/erlang/" />
  <default remote="couchbase" revision="master" />
- <project name="tlm" path="tlm" revision="ab70f6d42f46621ec576889e57cb37ac2d64a84b">
  <copyfile src="Makefile.top" dest="Makefile" />
  </project>
  <project name="bucket_engine" path="bucket_engine" revision="70b3624abc697b7d18bf3d57f331b7674544e1e7" />
  <project name="ep-engine" path="ep-engine" revision="f7fa4f21aaaf8d25d490c0291a320331c16431fc" />
  <project name="libconflate" path="libconflate" revision="2cc8eff8e77d497d9f03a30fafaecb85280535d6" />
  <project name="libmemcached" path="libmemcached" revision="ca739a890349ac36dc79447e37da7caa9ae819f5" remote="membase" />
  <project name="libvbucket" path="libvbucket" revision="00d3763593c116e8e5d97aa0b646c42885727398" />
  <project name="membase-cli" path="membase-cli" revision="7fe4121e7e83952a4cb032e25a2cb9fca1709354" remote="membase" />
  <project name="memcached" path="memcached" revision="7ea975a93a0231393502af4ca98976eee8a83386" remote="membase" />
  <project name="moxi" path="moxi" revision="52a5fa887bfff0bf719c4ee5f29634dd8707500e" />
  <project name="ns_server" path="ns_server" revision="8915f16ee7580b2198a081f0e3c684c2321056b0" />
  <project name="portsigar" path="portsigar" revision="1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600" />
  <project name="sigar" path="sigar" revision="63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0" />
  <project name="couchbase-examples" path="couchbase-examples" revision="21e6161a1d064979b5c6aa99cd34ccc41c9d7aca" />
  <project name="couchbase-python-client" path="couchbase-python-client" revision="006c1aa8b76f6bce11109af8a309133b57079c4c" />
  <project name="couchdb" path="couchdb" revision="ebe5a3ac0b35ae5c6d75954836b1ff2ddbfb34a5" />
  <project name="couchdbx-app" path="couchdbx-app" revision="76d79be79c1454cff0f878d5a88a792270ec1b17" />
  <project name="couchstore" path="couchstore" revision="d0e70d0dece8e4f4d0a782f4ac5452509fb3919b" />
  <project name="geocouch" path="geocouch" revision="f89b626c46c677bae42b0070bb59339aa6e20ce5" />
  <project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5" />
  <project name="testrunner" path="testrunner" revision="09bda8b7bcbd0d2c8c5e338c868bec0aff6fbd5a" />
  <project name="otp" path="otp" revision="b6dc1a844eab061d0a7153d46e7e68296f15a504" remote="erlang" />
  <project name="icu4c" path="icu4c" revision="26359393672c378f41f2103a8699c4357c894be7" remote="couchbase" />
  <project name="snappy" path="snappy" revision="5681dde156e9d07adbeeab79666c9a9d7a10ec95" remote="couchbase" />
  <project name="v8" path="v8" revision="447decb75060a106131ab4de934bcc374648e7f2" remote="couchbase" />
  <project name="gperftools" path="gperftools" revision="8f60ba949fb8576c530ef4be148bff97106ddc59" remote="couchbase" />
  <project name="pysqlite" path="pysqlite" revision="0ff6e32ea05037fddef1eb41a648f2a2141009ea" remote="couchbase" />
  </manifest>

Attachments: JPEG File jira issue.jpg    

 Description   
Steps to re-create the issue :

1) Go to any bucket on the couchbase console.
2) Create 7 documents inside that bucket.
3) Change the page limit from the dropdown at the top right corner on that page to 10.
4) All the documents(created in step 3) now appear on the same page i.e. the first page.
5) Close that page and navigate back to the same page.
6) You'll observe that again the number of documents that you see on the first page are 5 and the rest of the documents come on the next page, where as the modified page limit of 10 still appears on the top right corner of the page which is a mismatch.

Expected Result : All the documents that were created should always appear on the first page until the user again modifies the page limit.


 Comments   
Comment by Pavel Blagodov [ 26/Oct/12 ]
http://review.couchbase.org/22002
Generated at Sun Sep 21 04:51:31 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.