Item12943: MailerContrib notify REST handler crashes with array ref issue.

Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: MailerContrib
Branches: trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
MailerContrib rest handler fails with
ERROR: (500) Internal server error - Can't use string ("1") as an ARRAY ref while "strict refs" in use at /var/www/foswiki/trunk/core/lib/Foswiki/Contrib/ line 73.

This appears to have been introduced in distro:add180db4793. The mailNotify routine was changed to pass options in a hash instead of positional parameters. However the rest handler didn't get updated to the new convention.

Using this task to:
  • Fix the rest handler to call using the options hash
  • Specify the security parameters for REST ( Item12839 )
  • Update the docs to use a form POST to run the rest handler

-- GeorgeClark - 17 Jun 2014


ItemTemplate edit

Summary MailerContrib notify REST handler crashes with array ref issue.
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Extension
Component MailerContrib
Priority Urgent
CurrentState Closed
Checkins distro:488d664c7425
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches trunk
trunkCheckins distro:488d664c7425
Topic revision: r4 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy