[LON-CAPA-admin] AUtomatic enrollment under 2.1.0

Stuart Peter Raeburn raeburn at msu.edu
Mon Jan 2 15:36:39 EST 2006


Mark, 

The arguments expected by loncoursedata::get_classlist() were changed in 
loncoursedata.pm rev 1.150.  Unfortunately the change was not propagated to 
the &get_classlist call in Enrollment.pm (used by auto-enrollment). 

Enrollment.pm rev. 1.26 fixes this
http://zaphod.lite.msu.edu/cgi-bin/cvsweb.cgi/~checkout~/loncom/enrollment/E 
nrollment.pm?rev=1.26;content-type=text%2Fplain 

On your servers /home/httpd/lib/perl/LONCAPA/Enrollment.pm requires a one 
line change compared with rev 1.25 (shipped with 2.1.0). 

Line 43: 

 -    my $roster = &Apache::loncoursedata::get_classlist($cid,$dom,$crs);
+    my $roster = &Apache::loncoursedata::get_classlist($dom,$crs); 

Stuart 

Stuart Raeburn
Div. Science & Math Education
Michigan State University 


> Hi, 
> 
> For some reason each day since I upgraded our library server (oucapa2) to 
> FC4 and 2.1.0, I've received e-mails from the automatic classlist loader 
> showing that it has loaded all of the students. There has been no change 
> in the classlist as far as I know (they don't officially start pushing the 
> file to me until tomorrow). 
> 
> I'm wondering whether some of the information lies outside /home and I 
> therefore did not know to restore it, or if there is an oversight in 
> 2.1.0. 
> 
> Any suggestions? 
> 
> Mark 
> 
> -------------------------------------------------------------------------- 
> --
> Mark Lucas					email: lucasm at ohiou.edu
> 252D Clippinger Lab  				phone: (740)597-2984
> Department of Physics and Astronomy             fax:   (740)593-0433
> Ohio University
> Athens, OH 45701
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin 
> 
 





More information about the LON-CAPA-admin mailing list