[Interchange-bugs] [Bug 209] New - Problems expiring all catalogs via "bin/expireall"
bugzilla-daemon@developer.akopia.com
bugzilla-daemon@developer.akopia.com
Mon Jun 4 09:22:00 2001
http://developer.akopia.com/bugs/show_bug.cgi?id=209
*** shadow/209 Mon Jun 4 09:21:23 2001
--- shadow/209.tmp.14055 Mon Jun 4 09:21:23 2001
***************
*** 0 ****
--- 1,31 ----
+ Bug#: 209
+ Product: Interchange
+ Version: 4.6.3
+ Platform: All
+ OS/Version: All
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: Scripts
+ AssignedTo: __UNKNOWN__
+ ReportedBy: nferrari@ccsc.com
+ URL:
+ Cc:
+ Summary: Problems expiring all catalogs via "bin/expireall"
+
+ I created a catalog having a period in the name (as in "test.tst"). Everything
+ works fine except that crontab sends me the error:
+
+ Catalog test not found in interchange.cfg.
+
+ I finally found that the problem is in bin/expireall, line 112:
+
+ next unless /^\s*(?:sub)?catalog\s+([-\w_]+)/i;
+
+ (when trying to determine the catalog name to pass to bin/expire). It should read:
+
+ next unless /^\s*(?:sub)?catalog\s+([-\w_.]+)/i;
+ ^
+
+ or a period should not be allowed in the catalog creation.