[LON-CAPA-admin] Reverse Association and Timed Exams

Stuart Raeburn raeburn at msu.edu
Wed Jul 21 18:34:20 EDT 2010


Re: bug 6312 (Reverse Association doesn't).

This was caused by a typo in a backport in loncommon.pm for 2.9.0.

To fix this issue in 2.9.0:

modify line 8224 in /home/httpd/lib/perl/Apache/loncommon.pm (rev  
1.692.4.35 was shipped with 2.9.0), by adding an = between name and "f  
  (see below).

8224c8224
<       $r->print('<td><select name"f'.$i.'"'.
---
>       $r->print('<td><select name="f'.$i.'"'.



or replace /home/httpd/lib/perl/Apache/loncommon.pm with rev 1.692.4.36

All on one line:

wget -O /home/httpd/lib/perl/Apache/loncommon.pm
'http://source.loncapa.org/cgi-bin/cvsweb.cgi/~checkout~/loncom/interface/loncommon.pm?rev=1.692.4.36;content-type=text/plain'



Reload Apache after making the change:

/etc/init.d/httpd reload



Stuart Raeburn


> I am looking into Bug #6312 right now. Feel free to open an account   
> in Bugzilla and follow progress.
>
> I tried uploading a course list with reverse association, and it   
> worked for me. I have compared the code versions that we ship with   
> 2.9 and the current CVS HEAD, and none of the changes immediately   
> appear to make a difference in this context.
>





More information about the LON-CAPA-admin mailing list