OJS 3.0.1 Native XML Article Export - error messages

Which are the minimal requirements for an article within the system to be exportable via the native xml plugin? For some articles I do get error messages when trying to export, and I suspect they are lacking some information required for validating the file? e.g.:
grafik

Thank you
Sabrina

Hi @sabrinaeck

There were so many fixes from 3.0.1 till now, so would you be maybe able to update at least to the release 3.0.2 if not to the current GitHub branch ojs-stable-3_0_2 (where there are even more fixes since the 3.0.2 release) ?

Best,
Bozana

Hi @bozana,

thanks for the prompt reply - and sorry for my fault: we are already using 3.0.2 :slight_smile:
I’ll try to see how to handle the version you mentioned (GitHub branch ojs-stable-3_0_2).

Thanks
Sabrina

Hi @sabrinaeck

Could you take a look at your DB table submission_files? Are there any files with a strange value in the column file_stage? Are there any files with the file_stage = 18? Maybe this problem would be solved by just applying this patch: pkp/pkp-lib#1709 consider query files · pkp/pkp-lib@e5bc23a · GitHub

If you cannot use the current GitHub branch, you could maybe try to apply also these patches – I think they were after the release:
https://github.com/pkp/pkp-lib/pull/2311
https://github.com/pkp/ojs/pull/1280
(They contain the change above)

Best,
Bozana

Hi @bozana,

according to Your suggestion I just deployed ojs-3_0_2-stable as of few hours ago (I had related problems with native xml export) on a test system.
Unfortunately, after login and looking at my Submissions, it does not show any of them. error.log yields

3.0.2-current/classes/article/ArticleDAO.inc.php on line 82, referer: http://192.168.178.10/index.php/docmath
[Wed Aug 09 18:49:07.376531 2017] [:error] [pid 17608] [client 192.168.178.4:53134] PHP Notice:  Undefined index: section_title in /opt/ojs-3.0.2-current/classes/article/ArticleDAO.inc.php on line 81, referer: http://192.168.178.10/index.php/docmath
[Wed Aug 09 18:49:07.376576 2017] [:error] [pid 17608] [client 192.168.178.4:53134] PHP Notice:  Undefined index: section_abbrev in /opt/ojs-3.0.2-current/classes/article/ArticleDAO.inc.php on line 82,

My upgrade was done from release ojs-3.0.2 to the said branch.
Thanks in advance for Your reply.

Hi @lilush

Have you done the same for the pkp-lib submodule: GitHub - pkp/pkp-lib at ojs-stable-3_0_2?
At least this submodule has to be in the correct state (but eventually some others as well).

Best,
Bozana