Hi
On Tuesday 25 August 2009 at 2:27:42 PM, in
,
Jim Kyle wrote:
> So the position of the "%SingleRe%-" line within the
> template IS critical to its operation.
Further investigation reveals an issue that affects a number of other
macros in addition to %SingleRe.
If one of the affected macros appears in the template followed
/immediately/ (ie no space) by the "%-" macro and then on a new line
by some text (not starting with a space) that should appear directly
in the message body, the affected macro is not honoured and the first
word of the text following the macro does not appear in the message.
For example:-
%SetHeader("Reply-to","%fromname <%fromaddr>")%-
%Singlere%-
This is my text
The reply numbers "Re[2]:" etc appear.
The message body contains " is my text" instead of "This is my text"
If there is a space between the affected macro and the "%-" macro,
this behaviour is not observed.
If the text begins with a space, the behaviour is not observed and the
space appears in the message.
If the text is on the same line as the affected macro, after the
"%-" macro, this behaviour is not observed.
If the text is on the same line as the affected macro, without the
"%-" macro, this behaviour is only observed if there is no space
between the affected macro and the text.
If the affected macro is not followed by "%-", the behaviour is not
observed but the message obviously contains an extra blank line.
If there are multiple affected macros in a row, whether on the same
line or not, the first word of the text is swallowed and all macros
are actioned except the final one.
Affected macros include:-
Fromaddr
Foldername
SingleRe
TEXT
TOADDR
WINDOWSPLATFORMNAME
WINDOWSMINORVERSION
WINDOWSMAJORVERSION
WINDOWSCSDVERSION
WINDOWSBUILDNUMBER
The following show the behaviour of the first word of the text being
"swallowed" but I did not test further to check whether or not they
were actioned:-
NOSPLIT
nousepgp
NOUSESMIME
USEPGP
USESMIME
WRAPPED
WRAPJUSTIFY
Can anybody else replicate this?
> How do we go about reporting this as a replicable bug?
https://www.ritlabs.com/bt
> More to the point, is it worthwhile doing so, since use
> of SingleRe is already deprecated?
Not deprecated - just 'largely superseded by the option "Use reply
numbering in the subject line."'
As the issue looks like it affects some other macros as well, it is
definitely worthwhile. I was just seeing whether others can replicate
first. (-;
> Would it be better to request addition of the checkbox for numbering
> to all of the Reply template dialogs?
That wish could be requested separately - don't forget the sorting
office templates for auto-replies as well as all the other places to
set up reply templates.
--
Best regards
MFPA
ETHERNET(n): device used to catch the Ether bunny
Using The Bat! v4.0.38 on Windows XP 5.1 Build 2600
Current version is 4.2.9.1 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html