bugMHonArc - Bugs: bug #5758, MULTIPG and NOSAVERESOURCES cause...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #5758: MULTIPG and NOSAVERESOURCES cause archive to be rewritten

Submitted by:  None
Submitted on:  Tue 07 Oct 2003 02:14:05 AM UTC  
 
Category: ResourcesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Undesired Behavior
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: AllPerl Version: All
Component Version: <=2.6.8Fixed Release: 2.6.9

Tue 07 Oct 2003 02:32:23 AM UTC, comment #1:

mhdb.pl has been modifed to always save the value of the
MULTIPG resource, regardless of SAVERESOURCES.

Earl Hood <ehood>
Project Administrator
Tue 07 Oct 2003 02:14:05 AM UTC, original submission:

If you set both MULTIPG and NOSAVERESOURCES in your resource
file, MHonArc re-generates the entire archive (i.e.,
rewrites every per-message .html file), even if you're
just trying to add one message with the -add option. The
reason seems to be this code in mhopt.pl:

if ($EDITIDX || ($OldMULTIIDX != $MULTIIDX)) {
$UPDATE_ALL = 1;
} else {
$UPDATE_ALL = 0;
}

The idea seems to be if you've changed from a multi-index
config to a single-index config, or vice versa, it's too
complex to update in place and we ought to just re-do the
whole thing from scratch. That's reasonable; however, the
problem is that $OldMULTIIDX gets set from the saved
resources in the database, and if we don't have any
(because we specified NOSAVERESOURCES) it's not going to
match. One fix might be to always save MULTIPG in the
database even if SAVERESOURCES is off.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 07 May 2004 11:00:21 PM UTCehoodOpen/ClosedOpen=>Closed
  Fixed ReleaseCVS=>2.6.9
Tue 07 Oct 2003 02:32:53 AM UTCehoodStatusNone=>(Error - Not Found)
Tue 07 Oct 2003 02:32:23 AM UTCehoodPerl Version5.8.0=>
  Component Version2.6.8=>
  Fixed Release=>
Tue 07 Oct 2003 02:32:22 AM UTCehoodOperating SystemSolaris=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1