admiral icon indicating copy to clipboard operation
admiral copied to clipboard

Unable to see newly created projects in UI, however searching explicitly is listing them

Open reasonerjt opened this issue 6 years ago • 3 comments

@lgayatri commented on Mon Jul 23 2018

1.4.2 RC3

  1. I created three projects after upgrading OVA from 1.3.1 to 1.4.2
  2. Cant find them on the Projects page image
  3. But when I search explicitly, I can find them (using the Search on the Projects page) image

@renmaosheng @reasonerjt @zjs


@reasonerjt commented on Mon Jul 23 2018

And this seems a limitation, I double checked, UI will always send a request: https://vic-st-h2-182.eng.vmware.com:8282/projects?$limit=50&expand=true&documentType=true&$count=true

Note limit=50 in the request, that's why the newly created projects are not shown.

reasonerjt avatar Jul 23 '18 08:07 reasonerjt

@lgayatri I'm moving this issue to Admiral per discussion.

reasonerjt avatar Jul 23 '18 08:07 reasonerjt

Right, only 50 are being shown.

lgayatri avatar Jul 23 '18 09:07 lgayatri

The call to the backend with a limit of 50 results is not an issue since the response contains a link for the next page of results (if the total number of results is more than 50). More results are supposed to be loaded while scrolling. This is not happening because the the infinitescroll component in the DOM somehow gets a height of 0 which effectively disabled the scrolled callback that loads more results.

shadjiiski avatar Jul 24 '18 14:07 shadjiiski