You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the new masthead in 24.2 has broken some features of webhook plugins.
JavaScript that used to work now seems to be broken - even an alert('HELLO WORLD') does not work in most cases.
The GTN plugin is not affected by this - it seems to have been written for compatibility with Vue.
This seems to affect webhooks that use the function property in config.yml, or those that rely on document $(document).ready. My suspicion is that the document is not actually ready, because Vue is still rendering something. I seem to be able to work around this by using a setTimeout to call my entrypoint.
Galaxy Version and/or server at which you observed the bug
Commit: release_24.2
Browser and Operating System
Operating System: Linux
Browser: Chrome
To Reproduce
Steps to reproduce the behavior:
Checkout branch release_24.2
Enable the tool_list demo webhook by copying ./config/plugins/webhooks/demo/tool_list/ to ./config/plugins/webhooks/
run.sh and open in the browser
Click on the "Tool list" masthead icon - the first thing that happens is an alert() but even that does not appear in my browser. There are no error messages.
The text was updated successfully, but these errors were encountered:
Describe the bug
It seems that the new masthead in 24.2 has broken some features of webhook plugins.
JavaScript that used to work now seems to be broken - even an
alert('HELLO WORLD')
does not work in most cases.The GTN plugin is not affected by this - it seems to have been written for compatibility with Vue.
This seems to affect webhooks that use the
function
property inconfig.yml
, or those that rely on document$(document).ready
. My suspicion is that the document is not actually ready, because Vue is still rendering something. I seem to be able to work around this by using asetTimeout
to call my entrypoint.Galaxy Version and/or server at which you observed the bug
Commit: release_24.2
Browser and Operating System
Operating System: Linux
Browser: Chrome
To Reproduce
Steps to reproduce the behavior:
release_24.2
tool_list
demo webhook by copying./config/plugins/webhooks/demo/tool_list/
to./config/plugins/webhooks/
run.sh
and open in the browseralert()
but even that does not appear in my browser. There are no error messages.The text was updated successfully, but these errors were encountered: