admiral
admiral copied to clipboard
Unable to see newly created projects in UI, however searching explicitly is listing them
@lgayatri commented on Mon Jul 23 2018
1.4.2 RC3
- I created three projects after upgrading OVA from 1.3.1 to 1.4.2
- Cant find them on the Projects page
- But when I search explicitly, I can find them (using the Search on the Projects page)
@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.
@lgayatri I'm moving this issue to Admiral per discussion.
Right, only 50 are being shown.
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.