First Last Prev Next    No search results available
Details
: ST4 not working in SeaMonkey 2.32 - Temporal Deadzone
Bug#: 25951
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Windows 7
: unspecified
: P2
: blocker
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Mike <subscribe@shiftmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>
:

Attachments
Email example showing smarttemplate setting in browser (109.46 KB, image/jpeg)
2015-01-26 06:30, Mike
no flags Details
reply to email examply showing smarttemplate settings are ignored (77.37 KB, image/jpeg)
2015-01-26 06:32, Mike
no flags Details
Example of last day smarttemplate reply header worked for me (78.75 KB, image/jpeg)
2015-01-26 06:39, Mike
no flags Details
0.9.6.1 prerelease 35 (333.09 KB, application/x-xpinstall)
2015-01-26 07:39, Axel Grude
no flags Details
Results of prerelease patch on original sample email (86.42 KB, image/jpeg)
2015-01-26 07:51, Mike
no flags Details
Some email replies have quote incorrectly positioned at top (178.53 KB, image/jpeg)
2015-01-26 07:59, Mike
no flags Details
Sample email with multiple addressees (29.08 KB, image/jpeg)
2015-01-26 08:15, Mike
no flags Details
Sample email REPLY with multiple addresses (47.21 KB, image/jpeg)
2015-01-26 08:21, Mike
no flags Details
Sample email REPLYALL to multiple addressees (41.57 KB, image/jpeg)
2015-01-26 08:23, Mike
no flags Details
0.9.6.1 prerelease 38 (333.25 KB, application/x-xpinstall)
2015-01-26 09:27, Axel Grude
no flags Details
0.9.6.1 prerelease 86 (334.60 KB, application/x-xpinstall)
2015-03-12 09:09, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2015-01-26 06:30
Created an attachment (id=7989) [details]
Email example showing smarttemplate setting in browser

Windows 7, Seamonkey 2.32, Smarttemplate .0.9.6

Smarttemplate setting to replace default Reply header is completely ignored.
I tried removing and reinstalling the add-on without successful result.
I tried reinstalling Seamonkey without successful result.

I don't know exactly when this add-on stopped working.
Checking back on my Sent folder emails, it looks like around 1/13/2015 it
stopped.  I am not sure but think it coincides with the latest Seamonkey
update.
------- Comment #1 From Mike 2015-01-26 06:32:59 -------
Created an attachment (id=7990) [details]
reply to email examply showing smarttemplate settings are ignored
------- Comment #2 From Mike 2015-01-26 06:39:57 -------
Created an attachment (id=7991) [details]
Example of last day smarttemplate reply header worked for me

The template appears to have stopped replacing the default on 1/13.
Seamonkey had been updated around that time, but I hadn't really kept track of
the missing template headers.   I noticed it today.
------- Comment #3 From Mike 2015-01-26 07:07:55 -------
Here's the console2 output during the reply of the sample email in the
attachments.
I tried using the right-click in the smarttemplate debug options, but
right-click on the debug selection was ignored.

Hopefully, this console2 debug info will help uncover the problem.
Thanks

=============================================================================
Console2 Output
=============================================================================

Warning: TypeError: setting a property that has only a getter
 ----------
Warning: TypeError: setting a property that has only a getter
 ----------
Warning: TypeError: setting a property that has only a getter
 ----------
Error: TypeError: redeclaration of variable versionLabel
Source file: chrome://smarttemplate4/content/smartTemplate-util.js
Line: 268, Column: 9
Source code:
     let versionLabel = window.document.getElementById("smartTemplate
 ----------
Warning: ReferenceError: reference to undefined property SmartTemplate4.Util
Source file: chrome://smarttemplate4/content/smartTemplate-main.js
Line: 446
 ----------
Error: TypeError: SmartTemplate4.Util is undefined
Source file: chrome://smarttemplate4/content/smartTemplate-main.js
Line: 446
 ----------
Warning: window.controllers is deprecated. Do not use it for UA detection.
Source file: chrome://editor/content/ComposerCommands.js
Line: 198

=============================================================================
End of output
=============================================================================
------- Comment #4 From Axel Grude 2015-01-26 07:08:34 -------
(In reply to comment #2)
> Created an attachment (id=7991) [details] [details]
> Example of last day smarttemplate reply header worked for me
> 
> The template appears to have stopped replacing the default on 1/13.
> Seamonkey had been updated around that time, but I hadn't really kept track of
> the missing template headers.   I noticed it today.
> 

Could you paste (as text) your template and quote headers please? I did some
tests with SeaMonkey 2.31 and noticed a problem with %shortdate% so far.

If you attach any error logs please attach them as text (not images) as this is
easier to parse.
------- Comment #5 From Axel Grude 2015-01-26 07:11:30 -------
Good news - I just updated SeaMonkey to 2.32 and could reproduce the probem.

I am pretty sure it is caused by the changes in 

https://bugzilla.mozilla.org/show_bug.cgi?id=1001090#c196

landing in the SeaMonkey code base. Will upload a patch soon.
------- Comment #6 From Mike 2015-01-26 07:27:27 -------
(In reply to comment #4)
> (In reply to comment #2)
> > Created an attachment (id=7991) [details] [details] [details]
> > Example of last day smarttemplate reply header worked for me
> > 
> > The template appears to have stopped replacing the default on 1/13.
> > Seamonkey had been updated around that time, but I hadn't really kept track of
> > the missing template headers.   I noticed it today.
> > 
> 
> Could you paste (as text) your template and quote headers please? I did some
> tests with SeaMonkey 2.31 and noticed a problem with %shortdate% so far.
> 
> If you attach any error logs please attach them as text (not images) as this is
> easier to parse.
> 

Reply Quote Header:

<b>Subject</b>: %subject%
<b>Date:</b> %X:=sent% %n%/%d%/%Y% %l%:%M%:%S% %p%
<b>From:</b> %from(mail)%
<b>To:</b> %to(mail)%
[[<b>Cc:</b> %cc(mail)%]] 

There is no Template content.

Hope this helps
------- Comment #7 From Axel Grude 2015-01-26 07:39:55 -------
Created an attachment (id=7992) [details]
0.9.6.1 prerelease 35

Here is a quickfix. please test thoroughly.
------- Comment #8 From Mike 2015-01-26 07:51:19 -------
Created an attachment (id=7993) [details]
Results of prerelease patch on original sample email
------- Comment #9 From Mike 2015-01-26 07:57:30 -------
(In reply to comment #7)
> Created an attachment (id=7992) [details] [details]
> 0.9.6.1 prerelease 35
> 
> Here is a quickfix. please test thoroughly.
> 

Test of prerelease patch has returned functionality.  However I noticed
something peculiar, for my original test email, the quoted original message was
correctly positioned below the reply entry point.  See attachment image.

When I tried replying to the bugzilla email, the quoted original message was
incorrectly placed above the Reply entry point.  This seems like it may be an
unrelated issue to this bug.  See attachment image.
------- Comment #10 From Mike 2015-01-26 07:59:17 -------
Created an attachment (id=7994) [details]
Some email replies have quote incorrectly positioned at top
------- Comment #11 From Mike 2015-01-26 08:06:22 -------
(In reply to comment #7)
> Created an attachment (id=7992) [details] [details]
> 0.9.6.1 prerelease 35
> 
> Here is a quickfix. please test thoroughly.
> 

Replyall function appears to ignore multiple CC: and TO: in original quote
header copy.
------- Comment #12 From Mike 2015-01-26 08:13:52 -------
(In reply to comment #11)
> (In reply to comment #7)
> > Created an attachment (id=7992) [details] [details] [details]
> > 0.9.6.1 prerelease 35
> > 
> > Here is a quickfix. please test thoroughly.
> > 
> 
> Replyall function appears to ignore multiple CC: and TO: in original quote
> header copy.
> 

I attached a sample email of this problem and the reply email for the sample an
example.

It appears that each to addressee is replaced by the same address.
------- Comment #13 From Mike 2015-01-26 08:15:36 -------
Created an attachment (id=7995) [details]
Sample email with multiple addressees
------- Comment #14 From Mike 2015-01-26 08:21:10 -------
Created an attachment (id=7996) [details]
Sample email REPLY with multiple addresses

Instead of copying the single person replied to, the same address is used
multiple times for each addressee
------- Comment #15 From Mike 2015-01-26 08:23:01 -------
Created an attachment (id=7997) [details]
Sample email REPLYALL to multiple addressees

Only one addressee is copied repeatedly to the Reply quote for the number
original addressees.
------- Comment #16 From Mike 2015-01-26 08:26:02 -------
(In reply to comment #11)
> (In reply to comment #7)
> > Created an attachment (id=7992) [details] [details] [details]
> > 0.9.6.1 prerelease 35
> > 
> > Here is a quickfix. please test thoroughly.
> > 
> 
> Replyall function appears to ignore multiple CC: and TO: in original quote
> header copy.
> 

REPLY function seems to try to Quote multiple TO and CC addresses.
------- Comment #17 From Mike 2015-01-26 08:30:59 -------
(From update of attachment 7996 [details])
Reply only should show only one From and the TO addressees (usually one
addressee).  It looks like the same TO addressee is listing multiple times.
------- Comment #18 From Mike 2015-01-26 08:31:58 -------
(From update of attachment 7997 [details])
It looks like the same addressee is listing multiple times instead of the
different TO addressee.
------- Comment #19 From Axel Grude 2015-01-26 08:44:13 -------
(In reply to comment #16)
> (In reply to comment #11)
> > (In reply to comment #7)
> > > Created an attachment (id=7992) [details] [details] [details] [details]
> > > 0.9.6.1 prerelease 35
> > > 
> > > Here is a quickfix. please test thoroughly.
> > > 
> > 
> > Replyall function appears to ignore multiple CC: and TO: in original quote
> > header copy.
> > 
> 
> REPLY function seems to try to Quote multiple TO and CC addresses.
> 

Appears to be applying to the to(mail) and from(mail) switch specifically. Let
me check.
------- Comment #20 From Axel Grude 2015-01-26 09:27:02 -------
Created an attachment (id=7998) [details]
0.9.6.1 prerelease 38

Bugfix for patched version prerelease 35

should be better.
------- Comment #21 From Mike 2015-01-26 09:45:13 -------
(In reply to comment #20)
> Created an attachment (id=7998) [details] [details]
> 0.9.6.1 prerelease 38
> 
> Bugfix for patched version prerelease 35
> 
> should be better.
> 

It's working a lot better as you indicated.

Do you have any idea why replies to emails routed to shiftmail.com position the
quoted original messages at the top of the reply instead of at the bottom? 
Quoted original messages are set to position at the bottom of a reply.

The headers are in the form of:

Subject:        [smarttemplate4] [Bug 25951] ST4 not working in SeaMonkey 2.32
- Temporal Deadzone
Date:   Mon, 26 Jan 2015 17:27:04 +0000
From:   bugzilla-daemon@mozdev.mozdev.org
<bugzilla-daemon.-.mozdev.mozdev.org.-.subscribe@shiftmail.com>
Reply-To:       bugzilla-daemon.-.mozdev.mozdev.org.-.subscribe@shiftmail.com
To:     leishirsute@yahoo.com


Replies for other emails that are not routed through shiftmail.com appear to be
working correctly now as far as TO and CC addressees and positioning at the
bottom of a reply.
------- Comment #22 From Axel Grude 2015-01-26 10:41:31 -------
(In reply to comment #21)
> (In reply to comment #20)
> > Created an attachment (id=7998) [details] [details] [details]
> > 0.9.6.1 prerelease 38
> > 
> > Bugfix for patched version prerelease 35
> > 
> > should be better.
> > 
> 
> It's working a lot better as you indicated.

Good. Problems like this were to be expected because I had to eliminate the use
of "var" and had to move some variables in order to "scope" them correctly. The
initalisation of result="" in the loop that iterates the mails was moved
outside of the loop which broke the behavior. Goes to show that generic
variable names like "result" are fairly shitty (original author of the addon),
I renamed it to "addressee" and can now actually read the code better as well.

> 
> Do you have any idea why replies to emails routed to shiftmail.com position the
Yes I have, but let's not spam this bug with other support issues. Just send me
an email for this one :)
------- Comment #23 From Axel Grude 2015-03-12 09:09:26 -------
Created an attachment (id=8022) [details]
0.9.6.1 prerelease 86

SeaMonkey version bumped up to 2.37.* and various other fixes
------- Comment #24 From Axel Grude 2015-07-09 03:38:51 -------
Fixed in 1.0.1 Release

First Last Prev Next    No search results available