Workfiles app stuck "Retrieving Tasks..."

Dear Shotgun Team!

We encountered a (minor) bug in the tk-multi-workfiles2 app. If you have a Shot or Asset that does not have any Tasks (yet), the workfiles app is stuck in “Retrieving Tasks…”

It never switches to “No Tasks found” which would be much more helpful to the artists.
I was able to find this in the app code, but apparently the conditions are never fulfilled:

Here is the configuration we use for the workfiles app:

entities:
  - caption: Assets
    entity_type: Asset
    hierarchy: [sg_asset_type, code]
    filters:
    sub_hierarchy:
      entity_type: Task
      filters:
      link_field: entity
      hierarchy: [step]
  - caption: Shots
    entity_type: Shot
    filters:
    hierarchy: [sg_sequence, code]
    sub_hierarchy:
      entity_type: Task
      filters:
      link_field: entity
      hierarchy: [step]

Hope this helps to fix it fast!

Cheers,
Fabian

2 Likes

Hi Fabian –

Thanks so much for pointing this out! I just tested it out and got the same result. You’re right – it would look more polished and prevent confusion to switch to “No tasks found”.

I’ve put in an internal ticket to track the bug – I suspect it will be relatively easy, but low priority. At any rate, I’ve linked this post to the internal ticket, so we’ll be notified when it’s resolved, and will notify you in turn.

2 Likes

Hi @tannaz!

Thanks for tracking this bug! Hope it will be fixed in the near future.

Cheers,
Fabian

2 Likes