You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the query below in staging, some of the title fields are returned as null. The title field in creatorsAndContributors is set on this line. It is pulling the value from the name field, which, if not provided at creation, is derived from the firstname and surname fields.
Expected Behaviour
The API does not return null values for the title field
Current Behaviour
The API is returning null values for the title field
Steps to Reproduce
Run the following query in the staging graphQL playground. A few of the contributors will have null titles
{
organization(id: "04wxnsj81") {
works(first: 25) {
creatorsAndContributors {
id
title
count
}
}
}
}
Context (Environment)
When searching by author in Commons
Proposal
Hypothesis
If the name field is blank, the API should probably handle it instead of returning a null title value
Possible Implementation
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the query below in staging, some of the
title
fields are returned as null. Thetitle
field increatorsAndContributors
is set on this line. It is pulling the value from thename
field, which, if not provided at creation, is derived from the firstname and surname fields.Expected Behaviour
The API does not return null values for the
title
fieldCurrent Behaviour
The API is returning null values for the
title
fieldSteps to Reproduce
Run the following query in the staging graphQL playground. A few of the contributors will have null titles
Context (Environment)
When searching by author in Commons
Proposal
Hypothesis
If the
name
field is blank, the API should probably handle it instead of returning a nulltitle
valuePossible Implementation
The text was updated successfully, but these errors were encountered: