-
-
Sprint:
nxplatform #47, nxplatform #48
-
Following the fix done for NXP-30633, the total count (aka results count in paginated lists returned by the rest API) cannot be computed within the MongoDB socket timeout because there are too many results.
When this occurs, we will return a total count of -2 meaning it is unknown.
We should adapt the results count displayed in nuxeo-results element.
Attached screenshot (before.png) shows how the Web UI will display the result counts when MongoDB times out. We must improve to a generic label like "Many results"
{"report":{"apdex":0.5,"isInitial":true,"journeyId":"f5a8ca9f-660c-452b-8760-158a8c928e7a","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":2807.600000023842,"redirectCount":0,"resourceLoadedEnd":2006.1000000238419,"resourceLoadedStart":716.8999999761581,"resourceTiming":[{"duration":56.700000047683716,"initiatorType":"link","name":"https://jira.nuxeo.com/s/6a73f5d78dec2c95666c7e7c8498f8b8-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/3ea23cdeead70fbb915b7e17c50e42c1/_/download/contextbatch/css/_super/batch.css?spectrum=true","startTime":716.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":716.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":773.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":57.60000002384186,"initiatorType":"link","name":"https://jira.nuxeo.com/s/9f346cd4cbe5c55024f573ebd1c6ef22-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/97fb1ec5d0b5277162c4e1915a2adcdb/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,jira.general,-_super/batch.css?agile_global_admin_condition=true&is-server-instance=true&jag=true&jira.create.linked.issue=true&nps-acknowledged=true&richediton=true&spectrum=true","startTime":717.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":774.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":58.300000071525574,"initiatorType":"link","name":"https://jira.nuxeo.com/s/58ee667663b176be42acd7c1bf1fca70-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-components:adgs/com.atlassian.jira.jira-issue-nav-components:adgs.css","startTime":717.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":775.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":59,"initiatorType":"link","name":"https://jira.nuxeo.com/s/3a7dd25dffaa413b726809e5c41665e2-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-components:detailslayout-adgs/com.atlassian.jira.jira-issue-nav-components:detailslayout-adgs.css","startTime":717.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":776.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":59.60000002384186,"initiatorType":"link","name":"https://jira.nuxeo.com/s/9f193be2cf34a2d9f34827ef09fd5117-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-components:simpleissuelist-adgs/com.atlassian.jira.jira-issue-nav-components:simpleissuelist-adgs.css","startTime":717.6999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":777.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":62,"initiatorType":"link","name":"https://jira.nuxeo.com/s/b38ff61ea9c3d25738508c97de341b7c-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-plugin:adgs-styles/com.atlassian.jira.jira-issue-nav-plugin:adgs-styles.css","startTime":717.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":779.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":62.699999928474426,"initiatorType":"link","name":"https://jira.nuxeo.com/s/9f193be2cf34a2d9f34827ef09fd5117-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-components:orderby-less-adgs/com.atlassian.jira.jira-issue-nav-components:orderby-less-adgs.css","startTime":718,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":718,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":780.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":63.5,"initiatorType":"link","name":"https://jira.nuxeo.com/s/58ee667663b176be42acd7c1bf1fca70-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-components:pager-less-adgs/com.atlassian.jira.jira-issue-nav-components:pager-less-adgs.css","startTime":718.1000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":718.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":781.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":64.20000004768372,"initiatorType":"link","name":"https://jira.nuxeo.com/s/51a66b137843ad74762ea96e11fcea54-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/8.8.28/_/download/batch/com.atlassian.jira.jira-issue-nav-components:issueviewer-adgs/com.atlassian.jira.jira-issue-nav-components:issueviewer-adgs.css","startTime":718.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":718.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":782.5,"responseStart":0,"secureConnectionStart":0},{"duration":622.6000000238419,"initiatorType":"script","name":"https://jira.nuxeo.com/s/0343a28e6625cb1d0257e79ca363dea4-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/3ea23cdeead70fbb915b7e17c50e42c1/_/download/contextbatch/js/_super/batch.js?locale=en&spectrum=true","startTime":718.5,"connectEnd":718.5,"connectStart":718.5,"domainLookupEnd":718.5,"domainLookupStart":718.5,"fetchStart":718.5,"redirectEnd":0,"redirectStart":0,"requestStart":783.5,"responseEnd":1341.1000000238419,"responseStart":913.5,"secureConnectionStart":718.5},{"duration":1287.5,"initiatorType":"script","name":"https://jira.nuxeo.com/s/7e9e38ffc987108b13694e1be1eb1bed-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/97fb1ec5d0b5277162c4e1915a2adcdb/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,jira.general,-_super/batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jira.create.linked.issue=true&locale=en&nps-acknowledged=true&richediton=true&spectrum=true","startTime":718.6000000238419,"connectEnd":983.6999999284744,"connectStart":788.8999999761581,"domainLookupEnd":788.8999999761581,"domainLookupStart":788.8999999761581,"fetchStart":718.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":983.7999999523163,"responseEnd":2006.1000000238419,"responseStart":1061.6000000238419,"secureConnectionStart":862.5},{"duration":545,"initiatorType":"script","name":"https://jira.nuxeo.com/s/fa5d26041e6d42624e01f62b619b847c-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/4.1.2/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en","startTime":718.7999999523163,"connectEnd":1053.2999999523163,"connectStart":787.2999999523163,"domainLookupEnd":787.2999999523163,"domainLookupStart":787.2999999523163,"fetchStart":718.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1053.6000000238419,"responseEnd":1263.7999999523163,"responseStart":1262.1000000238419,"secureConnectionStart":912.6000000238419},{"duration":544.7999999523163,"initiatorType":"script","name":"https://jira.nuxeo.com/s/e88bd28120a9627756e47dd6bfa05ffa-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/9296915968fd19e3630cf5546b9a3e64/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en&spectrum=true","startTime":718.8999999761581,"connectEnd":1053.3999999761581,"connectStart":788.1999999284744,"domainLookupEnd":788.1999999284744,"domainLookupStart":788.1999999284744,"fetchStart":718.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1053.6000000238419,"responseEnd":1263.6999999284744,"responseStart":1261.6999999284744,"secureConnectionStart":912.8999999761581},{"duration":544.5,"initiatorType":"script","name":"https://jira.nuxeo.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":719.1000000238419,"connectEnd":1053.5,"connectStart":788.7999999523163,"domainLookupEnd":788.7999999523163,"domainLookupStart":788.7999999523163,"fetchStart":719.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1053.6999999284744,"responseEnd":1263.6000000238419,"responseStart":1261.1000000238419,"secureConnectionStart":913.1000000238419},{"duration":544.1000000238419,"initiatorType":"script","name":"https://jira.nuxeo.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":719.1999999284744,"connectEnd":1053.5,"connectStart":790.5,"domainLookupEnd":790.5,"domainLookupStart":790.5,"fetchStart":719.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1053.7999999523163,"responseEnd":1263.2999999523163,"responseStart":1260.6000000238419,"secureConnectionStart":913.2999999523163},{"duration":70.20000004768372,"initiatorType":"link","name":"https://jira.nuxeo.com/s/f3c9ba8d5e9cabff97d41646ac89c8d7-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/1a0982999fce04b10e665200ab846e27/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css?spectrum=true","startTime":719.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":719.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":789.6000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":625.2999999523163,"initiatorType":"script","name":"https://jira.nuxeo.com/rest/api/1.0/shortcuts/712002/bec6e7941037acd10429766a4b8c82f0/shortcuts.js?context=issuenavigation&context=issueaction","startTime":719.6000000238419,"connectEnd":719.6000000238419,"connectStart":719.6000000238419,"domainLookupEnd":719.6000000238419,"domainLookupStart":719.6000000238419,"fetchStart":719.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1264.6999999284744,"responseEnd":1344.8999999761581,"responseStart":1344.2999999523163,"secureConnectionStart":719.6000000238419},{"duration":71.5,"initiatorType":"link","name":"https://jira.nuxeo.com/s/8876ed93fdf981b6100d58cfa44009a5-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/913cebf638c067015e2bca76a220f080/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true&richediton=true&spectrum=true","startTime":719.6999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":719.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":791.1999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":72,"initiatorType":"link","name":"https://jira.nuxeo.com/s/868d862ff95ebad6a27cb4f4db7a1b6b-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/4.5.30/_/download/batch/com.atlassian.jira.jira-projects-plugin:navigation-styles-adgs/com.atlassian.jira.jira-projects-plugin:navigation-styles-adgs.css","startTime":719.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":719.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":791.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":73.09999990463257,"initiatorType":"link","name":"https://jira.nuxeo.com/s/8b37eabc3931ebd6ce4360c67507a112-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/4.5.30/_/download/batch/com.atlassian.jira.jira-projects-plugin:footer-styles-adgs/com.atlassian.jira.jira-projects-plugin:footer-styles-adgs.css","startTime":720.1000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":720.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":793.1999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":633,"initiatorType":"script","name":"https://jira.nuxeo.com/s/bda68539ff22cd9532a2de5c855bc241-T/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/913cebf638c067015e2bca76a220f080/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en&richediton=true&spectrum=true","startTime":720.1999999284744,"connectEnd":720.1999999284744,"connectStart":720.1999999284744,"domainLookupEnd":720.1999999284744,"domainLookupStart":720.1999999284744,"fetchStart":720.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1264.7999999523163,"responseEnd":1353.1999999284744,"responseStart":1348,"secureConnectionStart":720.1999999284744},{"duration":626.8000000715256,"initiatorType":"script","name":"https://jira.nuxeo.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":721.6999999284744,"connectEnd":721.6999999284744,"connectStart":721.6999999284744,"domainLookupEnd":721.6999999284744,"domainLookupStart":721.6999999284744,"fetchStart":721.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1264.8999999761581,"responseEnd":1348.5,"responseStart":1346.6999999284744,"secureConnectionStart":721.6999999284744},{"duration":712.1000000238419,"initiatorType":"script","name":"https://jira.nuxeo.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/grgf3g/712002/ea236f5a1b594a791f2e2cfd762387c0/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":721.7999999523163,"connectEnd":721.7999999523163,"connectStart":721.7999999523163,"domainLookupEnd":721.7999999523163,"domainLookupStart":721.7999999523163,"fetchStart":721.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1353.6999999284744,"responseEnd":1433.8999999761581,"responseStart":1433,"secureConnectionStart":721.7999999523163},{"duration":902.6999999284744,"initiatorType":"xmlhttprequest","name":"https://jira.nuxeo.com/rest/webResources/1.0/resources","startTime":1456.5,"connectEnd":1456.5,"connectStart":1456.5,"domainLookupEnd":1456.5,"domainLookupStart":1456.5,"fetchStart":1456.5,"redirectEnd":0,"redirectStart":0,"requestStart":2153.2999999523163,"responseEnd":2359.1999999284744,"responseStart":2358.5,"secureConnectionStart":1456.5}],"threshold":1000,"fetchStart":0,"domainLookupStart":3,"domainLookupEnd":80,"connectStart":80,"connectEnd":397,"secureConnectionStart":158,"requestStart":397,"responseStart":533,"responseEnd":707,"domLoading":715,"domInteractive":2834,"domContentLoadedEventStart":2834,"domContentLoadedEventEnd":3448,"domComplete":4572,"loadEventStart":4572,"loadEventEnd":4578,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"1528b031442f47","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":61,"dbReadsTimeInMs":4,"dbConnsTimeInMs":7,"applicationHash":"609a50578ba6bc73dbf8b05dddd7c04a04b6807c","experiments":[]}}
The label as "Many results" is ok by me. No impediments on the UX side.