Bug 6647 - Native Export Error
Native Export Error
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: Import/Export
2.3.5
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 05:37 PDT by Bozana Bokan
Modified: 2011-05-17 07:56 PDT (History)
2 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments
Patch against OJS 2.3.4 (1.02 KB, patch)
2011-05-16 05:45 PDT, Bozana Bokan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bozana Bokan 2011-05-16 05:37:12 PDT
PHP Fatal error: Call to a member function setAttribute() on a non-object in /data/ojs/psychotherapie-wissenschaft.info/lib/pkp/classes/xml/XMLCustomWriter.inc.php on line 98
Comment 1 Bozana Bokan 2011-05-16 05:45:21 PDT
Created attachment 3507 [details]
Patch against OJS 2.3.4

I could also commit the change to git, if OK so?
Comment 2 Juan Pablo Alperin 2011-05-16 08:35:09 PDT
please go ahead bozana
Comment 3 Alec Smecher 2011-05-16 08:57:33 PDT
Great, thanks -- if you haven't already, could you commit to the ojs-stable-2_3 branch as well?
Comment 4 Bozana Bokan 2011-05-16 09:53:23 PDT
Ah well, eventually one day I will be able to easily use git... :-\
Could you please check if everything OK?
master: https://github.com/pkp/ojs/commit/f2f512b27f476a77bca6dbcfe2d1c8c25dd97609
ojs-stable-2_3: https://github.com/pkp/ojs/commit/18faa4f22ab6936fd61a83e32577df2ea363befb
Thanks!
Comment 5 Alec Smecher 2011-05-16 10:47:03 PDT
Also committed to OCS master: https://github.com/pkp/ocs/commit/a8368651766c7d1d090fb79ab54c491475a57f56

Added to OJS 2.3.4 recommended patches list.

Thanks!
Comment 6 Bozana Bokan 2011-05-17 00:50:30 PDT
There is 'unset($n);' instead of 'unset($affiliationNode);' in line 196 in OCS
Comment 7 Alec Smecher 2011-05-17 07:56:09 PDT
Whoops! Fixed.