Strange Log after creation of a new booking

tirsales - May 15, 2009 - 11:40
Project:Public Bookings
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:tirsales
Status:closed
Description

Feature requested: The administrator / configurable users should be notified of new booking requests.

#1

tirsales - May 15, 2009 - 12:54

Please review the attached patch.

--edit: It allows to set a *single* email address, that will receive a copy of *each email* send regarding bookings (including confirmation emails). An implementation using a notification framework (or something similar) is planed, but will not be implemented in the near feature.

AttachmentSize
publicbookings.463534.patch 6.4 KB

#2

tirsales - May 20, 2009 - 16:04
Status:active» needs review

Adopted status.

#3

ballerjones - May 21, 2009 - 15:08

Hello tirsales,

The patch works well, however, after a user creates a booking the server prints a log of the action taken. For my users, this is very confusing. Can I quickly disable this? I noticed Smtp module has a similar feature (only if option is selected).

sorry for being such a bother, I hope my annoyingness is helping refine this module, if even minimally.

#4

tirsales - May 21, 2009 - 19:15

"prints a log"?

Do you mean the short text like e.g.

Your booking request asdsad has been submitted.

A confirmation link has been sent to your email address. Check your email and visit the link to proceed.

If yes: Please open a new issue for this ;)
If you mean the content of the mail send to the admin: It stays here.

#5

tirsales - May 22, 2009 - 13:59
Status:needs review» won't fix

This patch will not be continued. Please see issue #468720: Integration with Rules, Notifications and Action/Trigger.

#6

tirsales - May 22, 2009 - 14:13
Status:won't fix» duplicate

Apologies, wrong status. "Duplicate" of #468720: Integration with Rules, Notifications and Action/Trigger

#7

ballerjones - May 22, 2009 - 14:57

No, by print a log I mean it prints:

"SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 mail.lomira.k12.wi.us GroupWise Internet Agent 7.0.3 Copyright (c) 1993-2008 Novell, Inc. All rights reserved. Ready "
SMTP -> get_lines(): $data is "220 mail.lomira.k12.wi.us GroupWise Internet Agent 7.0.3 Copyright (c) 1993-2008 Novell, Inc. All rights reserved. Ready "
SMTP -> FROM SERVER:220 mail.lomira.k12.wi.us GroupWise Internet Agent 7.0.3 Copyright (c) 1993-2008 Novell, Inc. All rights reserved. Ready
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-mail.lomira.k12.wi.us "
SMTP -> get_lines(): $data is "250-mail.lomira.k12.wi.us "
SMTP -> get_lines(): $data was "250-mail.lomira.k12.wi.us "
SMTP -> get_lines(): $str is "250-AUTH LOGIN "
SMTP -> get_lines(): $data is "250-mail.lomira.k12.wi.us 250-AUTH LOGIN "
SMTP -> get_lines(): $data was "250-mail.lomira.k12.wi.us 250-AUTH LOGIN "
SMTP -> get_lines(): $str is "250-8BITMIME "
SMTP -> get_lines(): $data is "250-mail.lomira.k12.wi.us 250-AUTH LOGIN 250-8BITMIME "
SMTP -> get_lines(): $data was "250-mail.lomira.k12.wi.us 250-AUTH LOGIN 250-8BITMIME "
SMTP -> get_lines(): $str is "250-SIZE "
SMTP -> get_lines(): $data is "250-mail.lomira.k12.wi.us 250-AUTH LOGIN 250-8BITMIME 250-SIZE "
SMTP -> get_lines(): $data was "250-mail.lomira.k12.wi.us 250-AUTH LOGIN 250-8BITMIME 250-SIZE "
SMTP -> get_lines(): $str is "250 DSN "
SMTP -> get_lines(): $data is "250-mail.lomira.k12.wi.us 250-AUTH LOGIN 250-8BITMIME 250-SIZE 250 DSN "
SMTP -> FROM SERVER: 250-mail.lomira.k12.wi.us 250-AUTH LOGIN 250-8BITMIME 250-SIZE 250 DSN
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "235 Authentication successful "
SMTP -> get_lines(): $data is "235 Authentication successful "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "354 Enter mail, end with "." on a line by itself "
SMTP -> get_lines(): $data is "354 Enter mail, end with "." on a line by itself "
SMTP -> FROM SERVER:354 Enter mail, end with "." on a line by itself
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "221 mail.lomira.k12.wi.us Closing transmission channel "
SMTP -> get_lines(): $data is "221 mail.lomira.k12.wi.us Closing transmission channel "
SMTP -> FROM SERVER:221 mail.lomira.k12.wi.us Closing transmission channel
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 mail.lomira.k12.wi.us GroupWise Internet Agent 7.0.3 Copyright (c) 1993-2008 Novell, Inc. All rights reserved. Ready "
SMTP -> get_lines(): $data is "220 mail.lomira.k12.wi.us GroupWise Internet Agent 7.0.3 Copyright (c) 1993-2008 Novell, Inc. All rights reserved. Ready "
SMTP -> FROM SERVER:220 mail.lomira.k12.wi.us GroupWise Internet Agent 7.0.3 Copyright (c) 1993-2008 Novell, Inc. All rights reserved. Ready
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-mail.lomira.k12.wi.us "
etc etc

and nothing else, the page is gone.

#8

tirsales - May 22, 2009 - 15:20
Title:Notify administrator of new booking requests.» Strange Log after creation of a new booking
Category:feature request» bug report
Status:duplicate» postponed (maintainer needs more info)

This looks like a log by the SMTP module, not by Public Bookings or Bookings API.

I've taken the liberty to re-address this issue to the log-problem.

#9

ballerjones - May 22, 2009 - 15:51
Status:postponed (maintainer needs more info)» fixed

duh - you were right. disabled smtp debugging.

#10

System Message - June 5, 2009 - 16:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.