[LON-CAPA-cvs] cvs: loncom /interface lontrackstudent.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 13 Dec 2004 21:08:10 -0000
matthew Mon Dec 13 16:08:10 2004 EDT
Modified files:
/loncom/interface lontrackstudent.pm
Log:
Fix Bug 3668: trackstudent failed on first request because the query was
issued before any entries had been made in the database.
Index: loncom/interface/lontrackstudent.pm
diff -u loncom/interface/lontrackstudent.pm:1.8 loncom/interface/lontrackstudent.pm:1.9
--- loncom/interface/lontrackstudent.pm:1.8 Thu Dec 2 14:01:55 2004
+++ loncom/interface/lontrackstudent.pm Mon Dec 13 16:08:09 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lontrackstudent.pm,v 1.8 2004/12/02 19:01:55 matthew Exp $
+# $Id: lontrackstudent.pm,v 1.9 2004/12/13 21:08:09 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -56,6 +56,8 @@
($r,$prog_state,&mt('Composing Query'));
#
my $query = &build_query($mode);
+ # Allow the other server to begin processing the data before we ask for it.
+ sleep(5);
&Apache::lonnet::logthis('sending query '.$query);
##
## Send it along