bugMHonArc - Bugs: bug #17904, FieldOrder affects...

 
 

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

bug #17904: FieldOrder affects AddressModifyCode

Submitted by:  Wolfgang Dautermann <dauti>
Submitted on:  Mon 02 Oct 2006 08:31:11 PM UTC  
 
Category:  Resources Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Undesired Behavior
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  All Perl Version:  5.8.7
Component Version:  2.6.16 Fixed Release:  2.6.17

Fri 31 Dec 2010 09:02:15 PM UTC, comment #1:

This problem got fixed while working on something else.
Fixed in revision 2.33 of mhutil.pl. Running test
provided by bug submitter shows problem does not reoccur.

Earl Hood <ehood>
Project Administrator
Mon 02 Oct 2006 08:31:11 PM UTC, original submission:

I found out, that the ressource "FieldOrder" affects the behaviour of "AddressModifyCode". A small example:

$ cat t1
Message-ID: <testid-no-real-address@example.com>
Date: Wed, 27 Sep 2006 11:15:54 +0200

Testbody

$ cat test-without-fieldorder.mrc
<AddressModifyCode>
s/@/*AT*/;
</AddressModifyCode>
<Excs Override>
</Excs>

then
$ mhonarc -rcfile test-without-fieldorder.mrc t1

creates a msg00000.html file with:

<li><em>Message-id</em>: &lt;<a href="msg00000.html">testid-no-real-address@example.com</a>&gt;</li>

Correct. A Message-Id is no address and in mhutil.pl is specified, that the Message-Id should not be modified.

However - if I modify the Ressourcefile by adding a "Fieldorder"-ressource:

$ cat test-with-fieldorder.mrc
<AddressModifyCode>
s/@/*AT*/;
</AddressModifyCode>
<Excs Override>
</Excs>
<FieldOrder>
Date
Message-ID
References
</FieldOrder>

Then
$ mhonarc -rcfile test-with-fieldorder.mrc t1
creates a msg00000.html file with:
<li><em>Message-id</em>: &lt;<a href="mailto:testid-no-real-address%40example.com">testid-no-real-address*AT*example.com</a>&gt;</li>

Now <AddressModifyCode> modifies the Messageid (and I get a Mailto:-Link instead of the link to the HTML-File).

(And by the way: a reference is no mail address, that field should be included in %HFieldsAsIsList in mhutil.pl)

Wolfgang Dautermann <dauti>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ehood (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-09 ehood Open/ClosedOpen => Closed
    2011-01-09 ehood StatusReady For Test => Fixed
        Fixed Release => 2.6.17
    2010-12-31 ehood StatusNone => Ready For Test

    Back to the top


    Powered by Savane 3.3