Skip to content

Activities: Checklist activities not returned when combined with other activity types in filter #856

@filipvnencak

Description

@filipvnencak

Story

When querying activities with activityTypes filter containing "checklist" alongside other types (e.g. ["checklist", "version.publish", "status.change"]), the API returns empty results. Querying with activityTypes: ["checklist"] alone works correctly.

To reproduce

Steps to reproduce the behavior:

  1. Create a comment with checklist content (e.g. * [ ] Task 1) on any entity
  2. Query activities with activityTypes: ["checklist"] — checklist activity is returned correctly
  3. Query activities with activityTypes: ["checklist", "version.publish", "status.change"] — returns empty edges: [], checklist activity is missing

Expected behavior

The query should return checklist activities alongside other activity types. Both the checklist comment and any matching version.publish/status.change activities should be included in the response

Environment

  • Server version: 1.13.11

Additional context

The bug is in ayon_server/graphql/resolvers/activities.py around line 104-119.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions