Thursday, December 15, 2011

[jira] [Assigned] (LABS-506) [PULSE] listex-report.pl uninitialised value $mods

[ https://issues.apache.org/jira/browse/LABS-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodent of Unusual Size reassigned LABS-506:
-------------------------------------------

Assignee: Rodent of Unusual Size

> [PULSE] listex-report.pl uninitialised value $mods
> --------------------------------------------------
>
> Key: LABS-506
> URL: https://issues.apache.org/jira/browse/LABS-506
> Project: Labs
> Issue Type: Bug
> Environment: http://svn.apache.org/repos/asf/labs/pulse/email-query/listex-report.pl
> Reporter: Sebb
> Assignee: Rodent of Unusual Size
>
> Queries can generate the following errors:
> Use of uninitialized value $mods in substitution (s///) at /usr/local/labs/pulse/email-query/listex-report.pl line 360, <STDIN> line 36.
> Use of uninitialized value $mods in concatenation (.) or string at /usr/local/labs/pulse/email-query/listex-report.pl line 361, <STDIN> line 36.
> The error means the lists without moderators are not reported.
> Line 359:
> my $mods = $listinfo->{moderators};
> could be changed to:
> my $mods = $listinfo->{moderators} || '';
> which should prevent the errors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscribe@labs.apache.org
For additional commands, e-mail: labs-help@labs.apache.org

No comments:

Post a Comment