Opened 11 years ago

Closed 10 years ago

#71 closed bug (fixed)

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

Reported by: steinwinde Owned by: micha
Priority: trivial Milestone: 0.5.2
Component: BW General Keywords: invite friend e-mail email exception


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

, 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.'
/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
thrown in /var/www/test_html/htdocs/bw/lib/swift/Swift.php on line 338

Change History (10)

comment:1 Changed 11 years ago 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.

comment:2 Changed 11 years ago by micha

  • Owner set to micha
  • Status changed from new to assigned

comment:3 Changed 11 years ago by philipp

  • 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
  • show_on_bw set to 0

what's the status here?

comment:4 Changed 11 years ago 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.

comment:5 Changed 11 years ago 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?)

comment:6 Changed 10 years ago 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!

comment:7 Changed 10 years ago by micha

new version on test.

comment:8 Changed 10 years ago by micha

works with the mailserver!

comment:9 Changed 10 years ago by micha

  • follow_up changed from test to move to alpha

comment:10 Changed 10 years ago by philipp

  • follow_up changed from move to alpha to none
  • Resolution set to fixed
  • Status changed from assigned to closed

moved to alpha in r6016 and production in r6017 working except for a small note "please implement left sidebar" closing

Note: See TracTickets for help on using tickets.