Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP error when trying to export issue on OJS Testdrive site #10269

Closed
Olegas opened this issue Aug 2, 2024 · 2 comments
Closed

PHP error when trying to export issue on OJS Testdrive site #10269

Olegas opened this issue Aug 2, 2024 · 2 comments

Comments

@Olegas
Copy link

Olegas commented Aug 2, 2024

Describe the bug
Trying to export a non-empty (with non zero items count) issue using Native XML Plugin results in a PHP error

PKP\user\Repository::get(): Argument #1 ($id) must be of type int, null given, called in /var/www/html/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.php on line 93

Export file is not generated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ojs34.testdrive.publicknowledgeproject.org/index.php/testdrive-journal/management/importexport/plugin/NativeImportExportPlugin
  2. Login with admin/testdrive
  3. Click on "Export Issues"
  4. Select any issue with non zero (!) items count with checkbox
  5. Press "Export issues" button

What application are you using?
OJS 3.4 (Testdrive)

Additional information
Снимок экрана 2024-08-02 в 11 07 01

@jonasraoni
Copy link
Contributor

Thanks for the report @Olegas! Closing as a duplicate of #9414

@jonasraoni jonasraoni closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2024
@jonasraoni
Copy link
Contributor

FYI this should be fixed on the next release, I've uploaded a small fix, the related issue has some extra discussions, so maybe it will be slower to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants