Describe the issue or problem
We have tried to upload with both the OJS interface, and with commands in the command line. After both methods, on the surface, issue galleys were not shown. Errors were not reported in the interface, but were reported in the log when using command line (see picture attached below). We have also tried to import with exported XML files from older issues already imported previously, and on a new OJS installation. The same errors were seen.
Here is a list of things we have tried, which consistently produced the same results:
In our production installation
- Import new XML file
- Import new XML file without galleys
- Export an older issue with Native XML, re-import the file
In a brand new OJS installation
- Import new XML file
- Import new XML file without galleys
Steps I took leading up to the issue
With OJS interface
- Login with User/Role ‘Journal Manager’
- Navigate to ‘Tools’ then ‘Native XML Plugin’ for import
- Upload your XML file
- Import
With command line
- In ‘tools’ folder of the journal
- use command: php importExport.php NativeImportExportPlugin import <xml_file_path> <journal_path> <user_name>
What application are you using?
OJS 3.3.0.20
Additional information
When importing using the interface, no error was reported and the import was shown as successful. However galleys for the issue are not showing.
When importing using command line, an exception was reported multiple times: (also see attached image)
Exception: Filter output validation failed, expected “classes.publication.Publication”, but found “array” in /var/www/html/lib/pkp/classes/filter/Filter.inc.php:459\nStack trace:\n#0 /var/www/html/lib/pkp/plugins/importexport/native/filter/NativeXmlSubmissionFilter.inc.php(185): …
Results were consistent when attempting to import an XML file of previous issues exported from Native XML itself. We have attempted on a fresh OJS installation and the same issues remained.