Skip to content

Failed to call the on_read_trigger method: get_dataset_title #930

@yuanzhou

Description

@yuanzhou

Noticed this bug on DEV

[2025-09-30 18:23:27] INFO in schema_triggers: Executing 'get_dataset_title()' trigger method on uuid: 4c66a26432cc1a510914ea0fc085bf77
[2025-09-30 18:23:27] INFO in schema_neo4j_queries: ======get_dataset_donor_organs_info() ds_donors_organs_query======
[2025-09-30 18:23:27] ERROR in schema_manager: Failed to call the on_read_trigger method: get_dataset_title
Traceback (most recent call last):
  File "/usr/src/app/src/./schema/schema_manager.py", line 512, in generate_triggered_data
    target_key, target_value = trigger_method_to_call(key, normalized_class, request, user_token, existing_data_dict, new_data_dict)
  File "/usr/src/app/src/./schema/schema_triggers.py", line 1159, in get_dataset_title
    for donor_organ_data in donor_organs_list:
TypeError: 'NoneType' object is not iterable

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Keep

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions