Hi @jonasraoni I think your instruction has got me on a better path:
Harvesting Error
The first two links are posted to our test-server, where we restore prod from. We tried to add a test sql statement to prod->test configuration with:
"UPDATE plugin_settings set setting_value = 0 where plugin_name = 'plnplugin' and setting_name = 'enabled'
Could it be that somehow I messed up configuration so that it is actually prod which tries to deposit some items with the boap.ubbe.no url now, or is it still the test server which tries to use the plugin, despite the sql statement?
For the third item, I think the NJSR journal is supposed to have been removed. When I browse in the admin interface I don’t see the NJSR listed anymore, but the item posted belongs to it. I’ll look some more into these. I’ll try to investigate this.
Unknown LOCKSS state in progress
Should I update to use the stable-3_3_0 branch, and then reset those items, or wait for a tagged release? I have now changed to this branch, and reset one single item for testing, which is now in the state In progress.
XML error
I get the following error message when trying to export:
Notice: Undefined offset: 7 in /var/www/boap-ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 85
Notice: Trying to get property 'documentElement' of non-object in /var/www/boap-ojs/plugins/importexport/native/filter/IssueNativeXmlFilter.inc.php on line 204
Validation errors:
Element '{http://pkp.sfu.ca}submission_file', attribute 'stage': [facet 'enumeration'] The value '' is not an element of the set {'public', 'submission', 'note', 'review_file', 'review_attachment', 'final', 'fair_copy', 'editor', 'copyedit', 'proof', 'production_ready', 'attachment', 'query', 'review_revision', 'dependent'}.
Element '{http://pkp.sfu.ca}submission_file', attribute 'stage': '' is not a valid value of the local atomic type.
Element '{http://pkp.sfu.ca}submission_file', attribute 'stage': [facet 'enumeration'] The value '' is not an element of the set {'public', 'submission', 'note', 'review_file', 'review_attachment', 'final', 'fair_copy', 'editor', 'copyedit', 'proof', 'production_ready', 'attachment', 'query', 'review_revision', 'dependent'}.
Element '{http://pkp.sfu.ca}submission_file', attribute 'stage': '' is not a valid value of the local atomic type.
Element '{http://pkp.sfu.ca}issue': Missing child element(s). Expected is ( {http://pkp.sfu.ca}articles ).
Invalid XML:
<?xml version="1.0"?>
<issue xmlns="http://pkp.sfu.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" published="1" current="0" access_status="1" url_path="" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<id type="internal" advice="ignore">356</id>
<id type="doi" advice="update">10.15845/jaf.v2i2</id>
<issue_identification>
<volume>2</volume>
<number>2</number>
<year>2018</year>
</issue_identification>
<date_published>2018-11-19</date_published>
<last_modified>2018-11-19</last_modified>
<sections>
<section ref="ED" seq="1" editor_restricted="1" meta_indexed="1" meta_reviewed="0" abstracts_not_required="1" hide_title="0" hide_author="0" abstract_word_count="0">
<id type="internal" advice="ignore">85</id>
<abbrev locale="en_US">ED</abbrev>
<title locale="en_US">Editorial</title>
</section>
<section ref="FLM" seq="2" editor_restricted="0" meta_indexed="1" meta_reviewed="1" abstracts_not_required="0" hide_title="0" hide_author="0" abstract_word_count="0">
<id type="internal" advice="ignore">74</id>
<abbrev locale="en_US">FLM</abbrev>
<abbrev locale="nb_NO">ART</abbrev>
<policy locale="nb_NO">##section.default.policy##</policy>
<title locale="en_US">Films</title>
<title locale="nb_NO">Artikler</title>
</section>
</sections>
<covers>
<cover locale="en_US">
<cover_image>cover_issue_356_en_US.jpg</cover_image>
<cover_image_alt_text/>
<embed encoding="base64">...# deleted for brevity</embed>
</cover>
</covers>
<issue_galleys xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd"/>
</issue>
Fatal error: Uncaught Exception: Could not convert selected objects. in /var/www/boap-ojs/lib/pkp/classes/plugins/ImportExportPlugin.inc.php:181 Stack trace: #0 /var/www/boap-ojs/plugins/importexport/native/NativeImportExportPlugin.inc.php(295): ImportExportPlugin->displayXMLValidationErrors() #1 /var/www/boap-ojs/plugins/importexport/native/NativeImportExportPlugin.inc.php(212): NativeImportExportPlugin->exportIssues() #2 /var/www/boap-ojs/lib/pkp/pages/management/PKPToolsHandler.inc.php(94): NativeImportExportPlugin->display() #3 /var/www/boap-ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPToolsHandler->importexport() #4 /var/www/boap-ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest() #5 /var/www/boap-ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route() #6 /var/www/boap-ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch() #7 /var/www/boap-ojs/index.php(68): PKPApplication->execute() #8 {main} thrown in /var/www/boap-ojs/lib/pkp/classes/plugins/ImportExportPlugin.inc.php on line 181
If I understand the validation errors here, it seems to me to be that there are no submission files in the export, or that articles aren’t picked up? The articles in the issue are regular articles, but with html-galleys only. Under the published article I only find one item under publication/galleys, but I don’t see the html galley in the submission_files (or any other submission files) in the xml export. Is that expected?
Thank you for the very helpful feedback and help!
Øyvind