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
Issue:
GET /dictionaries returns 500 error Cannot read properties of undefined (reading 'codeList')
Description:
Lectern is storing Dictionary with missing property values on if.conditions.match. This missing property on match object throws the described error 500.
Steps to reproduce:
Create new Dictionary on Lectern POST /dictionaries with an IF condition having match with values. e.g.
leoraba
changed the title
BUG - GET /dictionaries returns 500 error Cannot read properties of undefined (reading 'codeList')
BUG - GET /dictionaries returns 500 error
Oct 24, 2024
leoraba
changed the title
BUG - GET /dictionaries returns 500 error
BUG - 500 error code fetching Dictionary
Oct 24, 2024
Findings: Error found on the Dictionary data, not a Lectern application issue.
Fixed changing Conditional Restrictions the match property from values to value
edsu7
added a commit
to virusseq/metadata-schemas
that referenced
this issue
Oct 25, 2024
Issue:
GET /dictionaries returns 500 error
Cannot read properties of undefined (reading 'codeList')
Description:
Lectern is storing Dictionary with missing property
values
on if.conditions.match. This missing property onmatch
object throws the described error 500.Steps to reproduce:
/dictionaries
with an IF condition havingmatch
withvalues
. e.g.Expect response: 200 OK
Actual response: 200 OK
Expect: 200 OK
Actual Response: 500 Internal Server Error
{
"error": "TypeError",
"message": "Cannot read properties of undefined (reading 'codeList')"
}
The text was updated successfully, but these errors were encountered: