Steps:

  1. Prepare .csv file with lots of users (ie: > Maximum Users/Process setting)
  2. Create import
  3. Run cron.php
  4. While cron.php is running, click Continue Processing

Result: several import errors will be logged (duplicate email)

Seems to me that the simplest fix would be to check to see if another process is working on the import before starting. Perhaps use a variable as some sort of a mutex?

Comments

ryan_courtnage’s picture

StatusFileSize
new957 bytes

Something like the attached perhaps?

ryan_courtnage’s picture

Status: Active » Needs review
robert castelo’s picture

Status: Needs review » Needs work

Agreed that this could be a problem, but not sure about this solution - there's the possibility of the mutex not being deleted and the import being stuck forever.