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

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.
Posts: 15
Joined: Wed Oct 27, 2010 3:05 pm

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?


Return to “OJS Development”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest