FredHutch / batch-dashboard

1 stars 0 forks source link

job definition dialog does not open for certain job defs #15

Open dtenenba opened 5 years ago

dtenenba commented 5 years ago

type in 2971 in job def search box. Click on single result. Nothing happens.

Actually, the js console says:

[Log] in click handler for job definition table (batch-dashboard.js, line 316)
[Error] Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) (describe_job_definition, line 0)
[Log] Request Failed: error, INTERNAL SERVER ERROR (batch-dashboard.js, line 325)
[Log] in click handler for job definition table (batch-dashboard.js, line 316)
[Error] Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) (describe_job_definition, line 0)
[Log] Request Failed: error, INTERNAL SERVER ERROR (batch-dashboard.js, line 325)
[Log] in click handler for job definition table (batch-dashboard.js, line 316)
[Log] containerProperties is [object Object] (batch-dashboard.js, line 570)
[Log] in click handler for job definition table (batch-dashboard.js, line 316)
[Error] Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR) (describe_job_definition, line 0)
dtenenba commented 5 years ago

Fixed with 91774e3332680174b4cde86621fa1c04a4f34560 but it's now super slow. The describe-job-definitions call was not paginated and now it is. So it reads through 1000s of revisions of a job def (thanks cromwell) and then throws away all but one.

Not closing this yet because we need some UI showing that it's looking for a job def. Now there is nothing to indicate that it's actually looking.