[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 14 Mar 2007 23:36:12 -0000
albertel Wed Mar 14 19:36:12 2007 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- only default back to package defaults for the package that the give part id is
(meaning of it's id 1_2 and id 1_2 is a essayresponse, then only propgate in
essayresponse package defaults, don't also propagate in the other response
defaults)
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.847 loncom/lonnet/perl/lonnet.pm:1.848
--- loncom/lonnet/perl/lonnet.pm:1.847 Mon Mar 12 13:07:43 2007
+++ loncom/lonnet/perl/lonnet.pm Wed Mar 14 19:36:10 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.847 2007/03/12 17:07:43 albertel Exp $
+# $Id: lonnet.pm,v 1.848 2007/03/14 23:36:10 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6176,7 +6176,8 @@
$do_default=1;
} elsif ($pack_type eq 'extension') {
push(@extension,[$package,$pack_type,$pack_part]);
- } else {
+ } elsif ($pack_part eq $part) {
+ # only look at packages defaults for packages that this id is
push(@specifics,[$package,$pack_type,$pack_part]);
}
}