Skip to content

Commit

Permalink
Merge pull request galaxyproject#17646 from mvdbeek/task_uuid_required
Browse files Browse the repository at this point in the history
[24.0] Don't index tasks without task_uuid
  • Loading branch information
mvdbeek authored Mar 11, 2024
2 parents aef5fdf + a219b63 commit f3239d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/galaxy/managers/export_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ def get_object_exports(
StoreExportAssociation,
)
.where(
and_(StoreExportAssociation.object_type == object_type, StoreExportAssociation.object_id == object_id)
and_(
StoreExportAssociation.object_type == object_type,
StoreExportAssociation.object_id == object_id,
StoreExportAssociation.task_uuid.is_not(None),
)
)
.order_by(StoreExportAssociation.create_time.desc())
)
Expand Down

0 comments on commit f3239d0

Please sign in to comment.