Closed Jannik-Lappe closed 2 years ago
Hi Jannik,
what OJS version and what version/branch of the DNB plugin do you use?
Best wishes, Ronald
OJS 3.2.1-4 and Version 1.4.1 of the plugin
Ok, it seems I missed that line of code when updating the plugin.
Could you try to edit the code and replace "$article" with "$submission" in line 245 and try again?
That fixed it.
Ok, I will create an official fix.
Thanks for the feedback!
Thanks for the fix!
Dear ojsde-Team,
I encountered a Problem with one of our OJS instances. I installed the DNB Plugin for future use, but during testing (exporting an article) i got a blank page. Log:
In contrast to our other instances, where this plugin works without problem, the published articles don't have an license url attached. The log shows that the variable $article is not set while trying to get the license url from another source. (line 245) https://github.com/ojsde/dnb/blob/3cc859e23bb1ab238ac8ac8a01ce4e625f73378c/filter/DNBXmlFilter.inc.php#L237-L247 Our workaround for now is to just add the license url to every article. Is this a possible bug?
Kind Regards, Jannik Lappe