[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 05 Jan 2004 22:29:51 -0000
albertel Mon Jan 5 17:29:51 2004 EDT
Modified files:
/loncom/publisher lonpublisher.pm
Log:
- need to do the &parseformatea() after we read the existing meat file and build to old parameters hash, otherwise BUG#2542
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.160 loncom/publisher/lonpublisher.pm:1.161
--- loncom/publisher/lonpublisher.pm:1.160 Sat Jan 3 19:28:22 2004
+++ loncom/publisher/lonpublisher.pm Mon Jan 5 17:29:51 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.160 2004/01/04 00:28:22 www Exp $
+# $Id: lonpublisher.pm,v 1.161 2004/01/05 22:29:51 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1017,9 +1017,6 @@
}
} else {
-# ------------------------------------------ See if anything new in file itself
-
- $allmeta=&parseformeta($source,$style);
# ---------------------- Read previous metafile, remember parameters and stores
$scrout.=&metaread($logfile,$source.'.meta');
@@ -1030,6 +1027,10 @@
delete $metadatafields{$_};
}
}
+# ------------------------------------------ See if anything new in file itself
+
+ $allmeta=&parseformeta($source,$style);
+
}