Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After FiltaQuilla filter forwards / replies with template, the next manual reply uses same template #205

Closed
RealRaven2000 opened this issue Aug 1, 2022 · 6 comments
Assignees
Labels

Comments

@RealRaven2000
Copy link
Owner

RealRaven2000 commented Aug 1, 2022

Related issue: RealRaven2000/FiltaQuilla#173 reported by @KonstabelKen

Context: I've been using SmartTemplate for years, great addon, no issues. Recently I've started using FiltaQuilla to trigger SmartTemplate.

Problem:
I've encountered a bug whereby ordinary email, not an email matching a FiltaQuilla condition, is now using the SmartTemplate used by the most recent FiltaQuilla trigger.

Circumstances:
This is true for both replies and new (blank) mail.
This is true across email accounts so long as the user accounts are added to same Thunderbird profile. i.e. even if the FiltaQuilla trigger is set for user@abc.com, a new mail or reply for user@xyz.com is opened using the last used FiltaQuilla chosen SmartTemplate.

The effect "stacks" - so if multiple Emails are forwarded / auto-replied using a Smart Template then these will trigger multiple automatic replies (one for each manual reply)

@RealRaven2000
Copy link
Owner Author

This version should fix the problem - thanks to @KonstableKen for finding this! I close the related [issue 173]

smartTemplate-fx-3.13pre60.zip

To install, download the zip file and drag it into Thunderbird Add-ons manager (do not extract files).

@RealRaven2000 RealRaven2000 changed the title After FiltaQuilla auto-forwards with template, nexty manual reply uses same template After FiltaQuilla auto-forwards with template, next manual reply uses same template Aug 1, 2022
@RealRaven2000 RealRaven2000 changed the title After FiltaQuilla auto-forwards with template, next manual reply uses same template After FiltaQuilla filter forwards / replies with template, the next manual reply uses same template Aug 1, 2022
@RealRaven2000
Copy link
Owner Author

Did some reformatting of the solution and added version log:

smartTemplate-fx-3.13pre68.zip

To install, download the zip file and drag it into Thunderbird Add-ons manager (do not extract files).

@KonstabelKen
Copy link

This version should fix the problem - thanks to @KonstableKen for finding this! I close the related [issue 173]

smartTemplate-fx-3.13pre60.zip

To install, download the zip file and drag it into Thunderbird Add-ons manager (do not extract files).

I've been using smartTemplate-fx-3.13pre60.zip for 30 days and the problem has not resurfaced. I think you can consider your solution as robust.

Note: I have not tested smartTemplate-fx-3.13pre68.zip as I only saw it now when I came to provide feedback.

@RealRaven2000
Copy link
Owner Author

This change is now in 3.13 which has been released last week. Closing this issue now...

@KonstabelKen
Copy link

Just to let you know that I have re-encountered this bug.

It's just resurfaced today. It's happened on two different computers that have the same account loaded to each machine.
Both are running Thunderbird 91.11.0 (64-bit)
Both are running Smarttemplates 3.13 (I think this is the latest version)
Both are running FiltaQuilla 3.5

No changes on our end between yesterday and today that I'm aware of which might have triggered the issue again.

Have just updated FiltaQuilla to 3.6 and will let you know if the problem persists.

@RealRaven2000
Copy link
Owner Author

Can you make a test and console capture with the debug option extensions.smartTemplate4.debug.fileTemplates enabled.
Check the Debug mode box, then right-click to toggle the additional information:

image

image

In error console you will encounter messages
"Found FileTemplate: ", usedTemplate, remainingTemplateQueue

the first variable contains the used template, the second variable the remaining queue of templates (which should have the one just used removed). You can click either to expand and investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants