This question about : Asked
Notify field does not accept username like allowed field does
The transition table allowed column allows both username and wikiusername to be specified.
The notify column only accepts wikiusernames.
I added the enhancement line below to the sub changeState in ControlledTopic.pm where
it tries to determine the email name and it seems to work for me.
$who = Foswiki::Func::getWikiUserName($who); # Enhancement
$who =~ s/^.*\.//; # web name?
my @list = Foswiki::Func::wikinameToEmails($who);
I can now place linux user names into the notify column and the email gets sent without error.
I am not sure I know enough about this routine yet to determine if this works under all conditions.
Maybe the developer can review this and determine if this is an acceptable patch
and incorporate it into the code.
| Subject || |
| Extension || WorkflowPlugin |
| Version || Foswiki 1.1.3 |
| Status || Asked |
| Related Topics || |