Line 139 on awx/ui/client/src/templates/templates.service.js contains a forward-slash in getWorkflowJobTemplateNodes that is interpreted as part of the pagesize integer (and thereby throwing an exception) when a complex workflow spans multiple pages of workflow nodes.
I think the bug may have been introduced when 'page_size=200' was added to the querystring in commit 700860e040ab7d2e944cad445f564c0822b9c45e.
Workflow graphically rendered
An error is displayed and the workflow is not rendered.
"Call to /api/v2/workflow_job_templates/171/workflow_nodes/?page_size=200/&page=1 failed. GET returned status: 500. A server error has occurred."
In theory, removing the forward-slash should fix this (and does in my own limited tests).
i.e. line 139 becomes "url += '&page=' + page;"
@pebbledavec thanks for creating this issue and pinpointing the line of code causing the bug.
I believe the code change you've proposed here should fix the bug you've identified - how do you feel about opening a PR to update that url string? You're almost there! We'd be happy to review it and merge it in.
@pebbledavec Hey there!
Any news on this one? Do you still want to get this one across the finish line?
Should be able to get it done in my lunch break today. Thanks for the reminder!