function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Joseph FerraroJoseph Ferraro 

odd behavior when using the import wizard in sandbox

I'm testing a lead distribution application in sandbox by uploading leads via the Import Wizard.  I turn on the debug log for my license and start the import, but my apex @future method doesn't seem to fire.  I check the apex job monitor and there's no sign of any calls to my @future method.  

 

Also: when I use the data loader, it works fine....any ideas?? 

 

 

for (lead l : trigger.new) {

leadids.add(l.id);

}

 

if (leadids.size() > 0) {

system.debug('routing leads now!!!!');

LeadAssignment.routeLeads(leadids);

}

 

 

EDIT: also, I'm receiving an email with the following content (which doesn't make any sense because the leads table is empty when I'm attempting to upload via the wizard):

 

Force.com Sandbox

Alert: All information in the import file was already in Salesforce.

Result: No data was created or modified in Salesforce.

44 values: unexpected errors. Line number(s): 2, 3, 4, 5, 6, 7, 8, 9, 10

If you encounter any problems or have any questions, please contact us by clicking Help & Training at the top right of any Salesforce page and choosing the My Cases tab.

 

Thank you!

Customer Support

salesforce.com 

 

Message Edited by joe ferraro on 02-25-2009 08:54 PM
AQAQ

Did you ever find out what caused this problem?

 

I'm getting the same thing.