Record some interesting bugs.

Source: Internet
Author: User

Start to record some interesting flaws ...

1. Search defects introduced by front page paging mechanism

Background: The default page using the search function is OK (search returned successfully), but on the second page the same search content returned to empty, click again to search has the ability to correctly return content.

Monitor several net requests

    1. Request URL: The default page search succeeds and returns the requests to find content http://*******/spring/taskaction/getsubactionlist?_search=false&nd= 1451294618340&rows=10&page=1&sidx=&sord=asc&ruleid=11111222&msgtemplateid=
    2. Request URL: The same search content returned as empty http://*******/spring/taskaction/getsubactionlist?_search=false&nd= when you search again after entering the second page 1451294720344&rows=10&page=2&sidx=&sord=asc&ruleid=11111222&msgtemplateid=
    3. Request URL: Click Search again to return content to normal http://*******/spring/taskaction/getsubactionlist?_search=false&nd=1451294804649 &rows=10&page=1&sidx=&sord=asc&ruleid=11111222&msgtemplateid=

The reason is obvious. On the paging parameter page, when the number of results for the search is less than rows of one page, the page=2 query returns an empty result, with a simple query condition and then limit to introduce the problem.

Record some interesting bugs.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.