[
https://issues.apache.org/jira/browse/VCL-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776704#comment-13776704
]
ASF subversion and git services commented on VCL-729:
-----------------------------------------------------
Commit 1525998 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1525998 ]
VCL-678
Commented out some chatty lines in get_package_hierarchy. Added code so that
only the original call to get_package_hierarchy displays the result in vcld.log
rather than each recursive iteration.
Added get_calling_subroutine to utils.pm.
VCL-708
Renamed global Jabber variables in utils.pm to upper-case to match all other
global variables.
Reworked and cleaned up the INIT section of utils.pm. The global variables were
defined twice. Some variables were no longer being used.
VCL-729
Updated utils.pm::mail to check if $RETURNPATH is defined. It is only passed to
Mail::Mailer if defined.
Other
Updated create_os_object, create_mn_os_object, create_provisioning_object to
display $EVAL_ERROR if the object couldn't be created.
> utils.pm::mail will display errors if $RETURNPATH is not defined
> ----------------------------------------------------------------
>
> Key: VCL-729
> URL: https://issues.apache.org/jira/browse/VCL-729
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Affects Versions: 2.3.2
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Priority: Minor
> Fix For: 2.3.3
>
>
> utils.pm::mail isn't checking if $RETURNPATH is defined before passing it as
> an argument to Mail::Mailer. If not defined, an error is generated in
> vcld.log and the email message isn't set. The argument is not required.
> $RETURNPATH should be checked. If not defined, don't pass it to Mail::Mailer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira