21.05 version of plugin does not start on Koha 21.05
The 21.05 version of the plugin doesn't start in Koha version 21.05
It can be started by adding the following JS:
StartEDS('default')
But the plugin won't start on its own
Hello! I wanted to verify that a few things were done that might have resolved this:
- The plugin was installed through the usual plugin installation method.
- The configuration screen was accessed and saved (this should be done even if you are upgrading and the plugin was previously configured)
- All data in the Configuration screen was filled in and there were no missing variables.
- The plugin has permissions to create a JavaScript file in its own directories.
The javascript is created on save of the configuration data now in order to speed up load times for end users, so it must be opened and saved at least once after install.
Thanks for the quick reply Micheal:
* The plugin was installed through the usual plugin installation method.
Yes, I installed the 21.05 KPZ via the normal Koha method.
* The configuration screen was accessed and saved (this should be done even if you are upgrading and the plugin was previously configured)
Yes, I did this.
* All data in the Configuration screen was filled in and there were no missing variables.
There are no missing variable and all the data was retained when the plugin was upgraded to the 21.05 version.
* The plugin has permissions to create a JavaScript file in its own directories.
It can, and I see that the plugin did add its own JavaScript on 10/6/2021 which was after I installed a 21.05 version.
I do see some errors in the console: Source map error: Error: request failed with status 404 Resource URL: https://widgets.ebscohost.com/prod/common/javascript/gss-common.js Source Map URL: jquery-1.10.2.min.map 2
Permission denied to access property "document" on cross-origin object script_auth_id.js:174:23
Can confirm EDScript.js is updated when settings changed
Can we try a few things to check on this?
First, I just merged an update that fixes some known issues with linking in the 21.05 version. You can download it here: https://github.com/ebsco/edsapi-koha-plugin/blob/master/eds_plugin_21.05002.kpz
Try installing that version and then saving your configuration again.
If it doesn't work after that, can you make sure that there's no script enabled in the "run tool" section? We want to make sure that's empty to see if it's something custom causing the issue as we're unable to duplicate the issue locally so far.
If you're still seeing issues, I've got a potential PR that removes the file mentioned above. I don't think it's needed anymore: https://github.com/ebsco/edsapi-koha-plugin/blob/remove-widgets-code/eds_plugin_21.05003.kpz
If it's still having issues loading, could you give a link to your Koha instance that we can test against?
The site in question is here: https://galveston.bywatersolutions.com/
I have installed the 21.05003.kpz but the problems persist