wiki | forum | trac | otrs | joomla | tech blog | mailman | bewelcome Branches: test.bw | alpha.bw | www.bw Participate: download | get involved

Ticket #71 (assigned bug)

Opened 11 months ago

Last modified 6 days ago

Uncaught exception, if e-mail address in invite-a-friend is missing

Reported by: steinwinde Assigned to: micha (accepted)
Priority: trivial Milestone: 0.5.2-short cleanup and framework
Component: BW General Version: test
Keywords: invite friend e-mail email exception Cc:
Follow up needed: move to alpha Frequently reported: 1
Announce on BW: 0

Description

If the user forgets to provide her e-mail address on

http://test.bewelcome.org/bw/inviteafriend.php

, an uncaught exception (black on white) is displayed:

Fatal error: Uncaught exception 'Exception' with message 'The recipients parameter must either be a valid string email address, an instance of Swift_RecipientList or an instance of Swift_Address.'
in
/var/www/test_html/htdocs/bw/lib/swift/Swift.php:338 Stack trace: #0 /var/www/test_html/htdocs/bw/lib/mailer.php(330): Swift->send(Object(Swift_Message), '', 'message@bewelco...') #1
/var/www/test_html/htdocs/bw/lib/mailer.php(51): bw_sendmail('', 'Curious about t...', 'Message from ??...', '', '', 'message@bewelco...', '0', 'html', '', '', '') #2
/var/www/test_html/htdocs/bw/inviteafriend.php(74): bw_mail('', 'Curious about t...', 'Message from ??...', '', 'message@bewelco...', '0', 'html', '', '') #3
{main}
thrown in /var/www/test_html/htdocs/bw/lib/swift/Swift.php on line 338

Change History

01/07/08 23:34:52 changed by micha

  • follow_up set to none.
  • milestone changed from forum improvements to 0.1.2 - more improvements & bugfixing.

ticket was set to a wrong milestone.

01/24/08 10:43:51 changed by micha

  • owner set to micha.
  • status changed from new to assigned.

04/23/08 12:23:09 changed by philipp

  • show_on_bw changed.
  • freq_reported set to 1.
  • milestone changed from 0.1.4 - improving userinterface for members and volunteers and start work on big 0.2 tasks to 0.5.2-short cleanup and framework.

what's the status here?

07/19/08 11:34:35 changed by micha

Yeah, sorry. Forgot a bit about this one. I wanted to fix this moving it all to Rox. But didn't have a lot of progress yet. Will look into it again now.

07/19/08 18:13:06 changed by micha

  • follow_up changed from none to test.

rox-based version online in /build/invite in r5561
- multiple email addresses not working yet
- swift/smtp-connection to be tested (on alpha?)

08/17/08 21:11:53 changed by micha

Do we have a smtp-connection on alpha? If so, I could try to move it to alpha and test it there. Really, the application is working, just needs to be tested!

08/22/08 08:50:50 changed by micha

new version on test.

08/22/08 08:51:02 changed by micha

works with the mailserver!

08/22/08 08:51:08 changed by micha

  • follow_up changed from test to move to alpha.
Trac Customization: trac stylesheet
SourceForge.net Logo