Open sahil3112 opened 10 months ago
This is happening to me as well in Dependency Track v4.11.1
using PostgreSQL as it won't show more than 85 Child Projects under the Parent Project but can see the Projects when selecting Show flat project view
Steps to Reproduce
https://{uri}:{port}/api/v1/project/{uuid}/children?pageSize=500
which will only return 85 projects and all projects uploaded after these child projects cannot been seen in the API call.https://{uri}:{port}/api/v1/project?onlyRoot=FALSE&pageNumber=1&pageSize=500
Projects
dashboard, the latest uploaded Child Projects cannot be seenShow flat project view
Current Behavior
When I expand the parent project (Contains more than 100 children) on the project page, then in the GUI it only shows children upto 100, but when I see the list of children via API It shows all the projects if I use offset
curl -X 'GET' 'https://localhost:8081/api/v1/project//children?offset=400' -H 'accept
: application/json' -H 'X-Api-Key: '
but when I switch to Flat project view then I am able to see all the projects, but in the Hierarchy view, when I expand parent project then I am only able to child project upto 100 and project after 100 I am unable to see, but Via API if I use offset then I am able to see complete list
Steps to Reproduce
the list of projects that you get in the second API call with offset=200 is not visible in the Hierarchy view GUI, but visible in Flat view
Expected Behavior
When I expand the parent project (Contains more than 100 children) on the project page, then in the Hierarchy view GUI shows all the child projects (including after 100)
Dependency-Track Version
4.8.2
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
Google Chrome
Checklist