You are viewing the PKP Support Forum | PKP Home Wiki

bug in user import logic

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

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.

bug in user import logic

Postby jhallida » Wed Jul 11, 2012 12:26 pm

Hi, I think I have discovered a bug or inconsistency in the way users are imported into OJS via the XML user import plugin.

The problem is that when users are imported that already exist in the system, only that users roles and interests change. Other changes (such as signature, private note, phone number, name, etc.) will not stick even though no error is thrown.

It looks like the problem stems from a bug in plugins/importexport/users/UserXMLParser.inc.php, in the ImportUsers() method. Surely this is not the expected behavior when importing users that already exist?


- Jim Halliday
Posts: 24
Joined: Fri Aug 20, 2010 8:03 am

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 4 guests