Item12943: MailerContrib notify REST handler crashes with array ref issue.
Current State: Closed
Released In: 2.0.0
Target Release: major
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/MailerContrib.pm 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
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
- 17 Jun 2014