eclipse-sw360 / sw360

SW360 project
https://www.eclipse.org/sw360/
Other
123 stars 99 forks source link

the incorrect paging after doing "Advanced Search" in the Components tab #1228

Open shi9qiu opened 3 years ago

shi9qiu commented 3 years ago

Description

I found a small bug about the paging after doing "Advanced Search" in the Components tab.

After doing "Advanced Search", you will get a list of components matched, among which the first 10 components are shown on the first page. But when you go to the next page, the 10 components shown on the page before are also shown here.

How to reproduce

  1. I created a dataset containing 25 components.

  2. I then did an advanced search under the condition that "Component Name is 'A'". I got 16 components matched, among which 10 components are shown on the first page. I then clicked the "Next" button to go to the next page.

  3. On this page, the left 6 components should be shown here. However, 16 components are shown here, including 10 components shown on the first page. This is not correct.

Screenshots

Screenshots1 Screenshots2 Screenshots3

Versions

Logs

Any logs (if any) generated in

SW360 logs

Logs generated under /var/log/sw360/sw360.log

Tomcat logs

Logs generated under /var/log/tomcat/error.log

mcjaeger commented 3 years ago

I think also it is a bug.