Activity log for bug #1731925

Date Who What changed Old value New value Message
2017-11-13 13:41:53 Toto Bille bug added bug
2017-11-13 13:42:19 Toto Bille description When searching for a snap with page and size, the size is not always the same. There are a few different cases: CURRENT BEHAVIOR Search for web: PAGE 1 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=web&page=1&size=10' -> size(result['_embedded']['clickindex:package']) = 10 OK PAGE 2 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=web&page=2&size=10' -> size(result['_embedded']['clickindex:package']) = 10 OK PAGE N ... OK web is OK Now search for core: PAGE 1 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=core&page=1&size=10' -> size(result['_embedded']['clickindex:package']) = 10 OK PAGE 2 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=core&page=2&size=10' -> size(result['_embedded']['clickindex:package']) = 8 NOK PAGE 3 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=core&page=3&size=10' -> size(result['_embedded']['clickindex:package']) = 3 NOK PAGE N ... NOK core is not OK EXPECTED BEHAVIOR All page, except the last page, should have 10 (in this case) snaps in their search When searching for a snap with page and size, the size is not always the same. There are a few different cases: CURRENT BEHAVIOR Search for web: PAGE 1 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=web&page=1&size=10' -> size(result['_embedded']['clickindex:package']) = 10 OK PAGE 2 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=web&page=2&size=10' -> size(result['_embedded']['clickindex:package']) = 10 OK PAGE N ... OK web is OK Now search for core: PAGE 1 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=core&page=1&size=10' -> size(result['_embedded']['clickindex:package']) = 10 OK PAGE 2 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=core&page=2&size=10' -> size(result['_embedded']['clickindex:package']) = 8 NOK PAGE 3 curl -s -H "X-Ubuntu-Architecture: $ARCH" -H "X-Ubuntu-Frameworks: $FRAMEWORKS" -H 'Accept: application/hal+json' 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=core&page=3&size=10' -> size(result['_embedded']['clickindex:package']) = 6 NOK PAGE N ... NOK core is not OK EXPECTED BEHAVIOR All page, except the last page, should have 10 (in this case) snaps in their search
2017-11-13 20:55:09 Kit Randel snapstore: status New Confirmed
2017-11-13 20:55:13 Kit Randel snapstore: assignee Kit Randel (blr)
2017-11-13 21:22:22 Kit Randel tags snapfind
2017-11-23 14:59:19 Celso Providelo tags snapfind search snapfind
2017-12-04 13:34:08 Celso Providelo snapstore: status Confirmed Fix Released
2017-12-04 13:34:11 Celso Providelo snapstore: assignee Kit Randel (blr) Celso Providelo (cprov)