Open jarias-lfx opened 1 month ago
This issue seem to be project specific because out test project in PROD is showing as expected in PCC.
ProjectID: 3c40a0e1-252b-4c08-bf02-72a38306216b Endpoint: https://pcc-bff.platform.linuxfoundation.org/production/api/cla-services/cla-group/3c40a0e1-252b-4c08-bf02-72a38306216b/contributors?companyID=40f2d23b-fd1e-4f5d-acc1-d9ed425adf54
This happens to be a frontend issue . Upon reviewing pagination is not being handled on the PCC UI . Backend is sending a nextKey that can be used to fetch the next items once page limit is exceeded as shown below Initial call (returned count of 10 and total of 13 with next key value in the response)
Second call
Hello @nickmango CC: @amolsontakke3576
Please review the following backend cases that are reproducible. Frontend case is working fine and backend cases below are still reproducible.
Refer screenshot for more details
Hello @nickmango CC: @amolsontakke3576
Please review the following backend cases that are reproducible. Frontend case is working fine and backend cases below are still reproducible.
- Wrong count appears, Refer below details
- resultCount: 38
- totalCount: 30
- Duplicate records listed under contributor
Refer screenshot for more details
@thakurveerendras frontend needed to work on pagination. This explains why its working on corporate console but not PCC. Duplicate issue is another issue to fix however will work on that
The PCC count of 30 is accurate and confirmed by the db records (An extra filter is used on PCC to ensure eclas are both signed and approved) For the corporate console (both authorized and non authorized users are returned) explaining a total score of 38
Agree with you @nickmango
Updating this issue status by referring above comment, I will add a separate ticket for duplicate records issue if replicated on production after deployment of this issue changes
Tested the fix on production and found that it is working fine. So updating this ticket status
Refer to the screenshot
Summary
PCC is not pulling the contributor lists correctly, while the CLA Corporate Console does
Background
Project Admins to CLA Project Admins need to see the contributor listing in PCC to confirm the authorization. It seems there is a bug in PCC that is not listing all the contributors correctly.
Expected behavior
PCC should list all contributors as the CLA Corporate Console
Screenshots
See how for Google and FOCUS we have the following contributor and is confirmed in the DB
While in PCC the user is no where to be foundÑ
Environment
Please complete the following information: