To set-up a new round, I
1-cleared the database by loading lib.model.schema.sql
2-emptied cache by running ./symfony cc in my project folder
3-created rounds. I created 4 rounds, round 1 was type 1, round 2 and 3 type 2
and no type set for round 4 (so type 0)
4-I then imported the .csv files, starting with institution, then venue, then
team then adjudicator. It all goes well until I get to adjudicator, when I get
this error
"[Exception]
The following error occured on line number 2: The institution with the code ''
does not exist.
stack trace
at ()
in SF_ROOT_DIR/apps/3tab/modules/import/actions/actions.class.php line 112 ...
{
$propelConn->rollback();
unlink(sfConfig::get('sf_upload_dir') . DIRECTORY_SEPARATOR . $realFileName);
throw new Exception("The following error occured on line number " . ($number + 2) . ": " . $e->getMessage());
}
$this->getRequest()->setParameter("messages", array($this->getRequestParameter('target_model') . " import: $insertedCount row(s) inserted. $updatedCount row(s) updated. $ignoredCount row(s) ignored."));
at importActions->executeImport()"
There is no extra line in the csv file.
Original issue reported on code.google.com by logani...@gmail.com on 30 Jun 2011 at 11:04
Original issue reported on code.google.com by
logani...@gmail.com
on 30 Jun 2011 at 11:04Attachments: