Skip to content

File size is not populated in the DB for Frames. #1840

Open
@uermel

Description

@uermel

Describe the bug
File size is not populated in the DB for Frames.

To Reproduce
Steps to reproduce the behavior:
Run query:

query GetFrameFileSizesSimple($datasetId: Int!) {
  datasets(where: { id: { _eq: $datasetId } }) {
    runs {
      edges {
        node {
          frames {
            edges {
              node {
                fileSize
              }
            }
          }
        }
      }
    }
  }
}

with

{
  "datasetId": 10448
}

returns

{
  "data": {
    "datasets": [
      {
        "runs": {
          "edges": [
            {
              "node": {
                "frames": {
                  "edges": [
                    {
                      "node": {
                        "fileSize": 0
                      }
                    },
                    {
                      "node": {
                        "fileSize": 0
                      }
                    },
                    {
                      "node": {
                        "fileSize": 0
                      }
                    },
                    {
                      "node": {
                        "fileSize": 0
                      }
                    },
.....

Expected return value: the file size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions