OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Atomic imports?

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Atomic imports?

Postby dcamp » Wed Apr 13, 2011 4:09 pm

When I get an error during an import via importExport.php NativeImportExportPlugin, a journal can be left in an inconsistent state, with many but not all issues loaded and one or more issues without all its articles loaded. Would it be possible to make imports atomic, such that the database gets rolled back to the pre-import state if it isn't entirely successful?

Thanks,
Christian
dcamp
 
Posts: 15
Joined: Wed Oct 27, 2010 3:05 pm

Return to OJS Development

Who is online

Users browsing this forum: Google [Bot] and 2 guests