icgc-argo / platform-api

https://api.platform.icgc-argo.org/graphql
GNU Affero General Public License v3.0
0 stars 0 forks source link

programDonorSummary Returns Wrong Info #639

Closed Buwujiu closed 1 year ago

Buwujiu commented 1 year ago

The programDonorSummary query returns mismatched info.

Issue 1

https://platform-ui.qa.argo.cancercollaboratory.org/submission/program/DEMO-CA/dashboard There are 11 donors in ES index donor_centric_program_democa_re_48, but the UI is only showing 7. when querying DEMO-CA through the gateway,

query{
  programDonorSummary(
    programShortName: "DEMO-CA", 
    first: 20,
    offset: 0,
    filters:  [ ] ) {
    entries {
      donorId
      submitterDonorId

    }
    stats {
      registeredDonorsCount
    }
  }
}

it returns 7 donors only, which should be 11, according to ES.

Issue 2

https://platform-ui.qa.argo.cancercollaboratory.org/submission/program/DATA-CA/dashboard DATA-CA dashboard has no donors, but there are 371 in ES donor_centric_program_dataca_re_202, when querying gateway using the same query as above, it returns 0 donors.

Buwujiu commented 1 year ago

tested in QA, working as expected!

Buwujiu commented 1 year ago

tested in staging, working as expected!

Buwujiu commented 1 year ago

tested in Prod, working as expected!