whole-tale / girder_wholetale

Girder plugin providing basic Whole Tale functionality
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Updating job with a stale notification fails #559

Closed Xarthisius closed 1 year ago

Xarthisius commented 1 year ago

If an underlying Notification (wt_notification specifically) disappears due to its shelf life, updating a job fails with:

 '<FrameSummary file /girder/girder/api/rest.py, line 630 in endpointDecorator>',
 '<FrameSummary file /girder/girder/api/rest.py, line 1234 in PUT>',
 '<FrameSummary file /girder/girder/api/rest.py, line 970 in handleRoute>',
 '<FrameSummary file /girder/girder/api/access.py, line 88 in wrapped>',
 '<FrameSummary file /girder/girder/api/rest.py, line 445 in wrapped>',
 '<FrameSummary file /girder/girder/api/describe.py, line 709 in wrapped>',
 '<FrameSummary file /girder/plugins/jobs/server/job_rest.py, line 178 in updateJob>',
 '<FrameSummary file /girder/plugins/jobs/server/models/job.py, line 377 in updateJob>',
 '<FrameSummary file /girder/girder/events.py, line 314 in trigger>',
 '<FrameSummary file /girder/plugins/wholetale/server/__init__.py, line 401 in updateNotification>'

TypeError: TypeError("\'NoneType\' object is not subscriptable"