Loading...
 

Tikiwiki-devel (mailman list mirror)


problem with PluginTracker e-mail subject formatting in Tiki 16 & 18

posts: 1389

Hello everybody,

I have setup a Tiki with a simple tracker and the option to send e-mails
at creation of tracker items.
This is a simple possibility to use Tiki (Trackers) as web frontend for
Majordomo mailing lists.
Currently I am in a proof of concept status and it works so far.

The following description is for Tiki 16. Before sending this email I
upgraded to Tiki 18 and added the difference below - the issue is still
there. Might be a bug. If yes I will file a bug report.

------------------------------------------------------------------------

Using a tracker field ‘textfield’ referenced in the Tracker plugin via a
wiki template page works:

{TRACKER(trackerId=”1” action_style=”btn-success:btn” showtitle=”y”
showdesc=”y” showfieldsdesc=”y” showmandatory=”y”
email=”createdBy|majordomo@domain.tld|wiki:majorcommands_tpl,wiki:majorcommands_subject_tpl”
emailformat=”text” url=”HomePage” target=”_self”)}Your command was
submittet - next\{TRACKER\}

content of wiki:majorcommands_tpl =
\{$f_6\}

content of wiki:majorcommands_subject_tpl =
\{$f_5\}

Both tracker fields currently are text fields.
Both template pages have only the field references as content - nothing
else.

To submit a command to the Majordomo I simply need to fill two fields in
the Tracker form:
subject => injecting in field 5
command => injecting in field 6

The email is correctly sent to majordomo at domain.tld and the command is
correctly processed, causing an email sent from Majordomo to the
Creator’s email address. Fine.

The problem is the strange change of the subject in the answer of
Majordomo that is most likely caused by Tiki.

_How it should be:_

When I write an email manually from Thunderbird, the subject of the
answer from Majordomo will be:
/
//Majordomo results: Subject/

But when I submit the command via the Tracker form I get this:

a. When Tiki is set to English EN:

/Majordomo results: “Majortiki” item “40” was modified at li/

b. When Tiki is set to German DE:

/Majordomo results: =?UTF-8?Q?”Majortiki”=20Eintrag=20”40”=2/

When I change the receipient email in the Tracker form from Majordomo to
my personal email address directly (not majordomo at domain.tld but
torsten at tiki.org I get the following still odd subjects in the email:

c. When Tiki is set to English EN:

/”Majortiki” item “40” was modified at lists.domain.tld by “admin”/

d. When Tiki is set to German DE:

/”Majortiki” Eintrag “40” wurde verändert am lists.domain.tld von “admin”/

So I identify two problems on the Tiki side:

1st: When I send emails from the PluginTracker form, the subject is not
sent correctly.

2nd: There seems to be a difference even in the wrongly processed
subject depending on the language.

------------------------------------------------------------------------

Additional info for Tiki 18:

In 18 the exact same issue with one (worse) difference:
The item ID is not sent:

/Majordomo results: “Majortiki” item “” was modified at list/

and the Tiki Tracker notification without item ID aswell:

/”Majortiki” item “” was modified at lists.domain.tld by “admin”

/Again: the result _*should*_ be

/Majordomo results: Subject

/
------------------------------------------------------------------------

Thx for hints,
Torsten

posts: 1900

Is the field set to be multilingual with the checkbox in the field setting?

luci


Dne 07.12.2017 v 13:29 Torsten napsal(a):
> Hello everybody,
>
> I have setup a Tiki with a simple tracker and the option to send
> e-mails at creation of tracker items.
> This is a simple possibility to use Tiki (Trackers) as web frontend
> for Majordomo mailing lists.
> Currently I am in a proof of concept status and it works so far.
>
> The following description is for Tiki 16. Before sending this email I
> upgraded to Tiki 18 and added the difference below - the issue is
> still there. Might be a bug. If yes I will file a bug report.
>
> ------------------------------------------------------------------------
>
> Using a tracker field ‘textfield’ referenced in the Tracker plugin via
> a wiki template page works:
>
> {TRACKER(trackerId=”1” action_style=”btn-success:btn” showtitle=”y”
> showdesc=”y” showfieldsdesc=”y” showmandatory=”y”
> email=”createdBy|majordomo@domain.tld|wiki:majorcommands_tpl,wiki:majorcommands_subject_tpl”
> emailformat=”text” url=”HomePage” target=”_self”)}Your command was
> submittet - next\{TRACKER\}
>
> content of wiki:majorcommands_tpl =
> \{$f_6\}
>
> content of wiki:majorcommands_subject_tpl =
> \{$f_5\}
>
> Both tracker fields currently are text fields.
> Both template pages have only the field references as content -
> nothing else.
>
> To submit a command to the Majordomo I simply need to fill two fields
> in the Tracker form:
> subject => injecting in field 5
> command => injecting in field 6
>
> The email is correctly sent to majordomo at domain.tld and the command is
> correctly processed, causing an email sent from Majordomo to the
> Creator’s email address. Fine.
>
> The problem is the strange change of the subject in the answer of
> Majordomo that is most likely caused by Tiki.
>
> _How it should be:_
>
> When I write an email manually from Thunderbird, the subject of the
> answer from Majordomo will be:
> /
> //Majordomo results: Subject/
>
> But when I submit the command via the Tracker form I get this:
>
> a. When Tiki is set to English EN:
>
> /Majordomo results: “Majortiki” item “40” was modified at li/
>
> b. When Tiki is set to German DE:
>
> /Majordomo results: =?UTF-8?Q?”Majortiki”=20Eintrag=20”40”=2/
>
> When I change the receipient email in the Tracker form from Majordomo
> to my personal email address directly (not majordomo at domain.tld but
> torsten at tiki.org I get the following still odd subjects in the email:
>
> c. When Tiki is set to English EN:
>
> /”Majortiki” item “40” was modified at lists.domain.tld by “admin”/
>
> d. When Tiki is set to German DE:
>
> /”Majortiki” Eintrag “40” wurde verändert am lists.domain.tld von “admin”/
>
> So I identify two problems on the Tiki side:
>
> 1st: When I send emails from the PluginTracker form, the subject is
> not sent correctly.
>
> 2nd: There seems to be a difference even in the wrongly processed
> subject depending on the language.
>
> ------------------------------------------------------------------------
>
> Additional info for Tiki 18:
>
> In 18 the exact same issue with one (worse) difference:
> The item ID is not sent:
>
> /Majordomo results: “Majortiki” item “” was modified at list/
>
> and the Tiki Tracker notification without item ID aswell:
>
> /”Majortiki” item “” was modified at lists.domain.tld by “admin”
>
> /Again: the result _*should*_ be
>
> /Majordomo results: Subject
>
> /
> ------------------------------------------------------------------------
>
> Thx for hints,
> Torsten
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world’s most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.