6.0.0-beta1
7/8/25

[#6607] error while adding attendees to an event in kronolith
Summary error while adding attendees to an event in kronolith
Queue Kolab
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester fp (at) khamsa (dot) net
Created 04/15/2008 (6293 days ago)
Due
Updated 05/26/2008 (6252 days ago)
Assigned 05/01/2008 (6277 days ago)
Resolved 05/25/2008 (6253 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/26/2008 08:01:02 AM Thomas Jarosch Comment #11 Reply to this comment
Thanks for looking into this, Jan!


05/25/2008 12:03:26 PM Jan Schneider Comment #10
State ⇒ Resolved
Reply to this comment
Turns out that it wasn't this patch that broke adding attendees 
without email addresses, but the fix for bug 6146, which I reverted.
05/01/2008 05:44:57 PM Chuck Hagenbuch Taken from Chuck Hagenbuch
Taken from Gunnar Wrobel
 
05/01/2008 05:42:11 PM Jan Schneider Comment #9
State ⇒ Assigned
Reply to this comment
Indeed, this should work fine, anything else must have become broken 
along the way.
04/25/2008 07:37:49 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #8 Reply to this comment
Ok. What happens if you just add your name like "Gunnar" to the list?
Does it get added without an error message?
Or is this considered an empty email address
and therefore not added?
The kronolith default domain should get added -> "gunnar@example.org"
Well, I hope not :-) I'm going to test this myself again since this

is a feature we contracted Jan for last year. It's pretty common

when you organize an event that not every attendee

got an email address. Think of "Aunt Irma's birthday visit".


04/25/2008 07:28:41 AM Gunnar Wrobel Comment #7 Reply to this comment

[Show Quoted Text - 14 lines]
The kronolith default domain should get added -> "gunnar@example.org"
04/25/2008 07:20:53 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #6 Reply to this comment
Adding an empty mail address doesn't do anything on my side. Meaning:
as the value is empty no attendee is added but there is also no need
for showing an error.

The problem I saw was adding an invalid mail address.

If you add a mail address like "a@b@c" you will get an error now
instead of a blank page and a fatal PHP error.
Ok. What happens if you just add your name like "Gunnar" to the list?

Does it get added without an error message?

Or is this considered an empty email address

and therefore not added?


04/25/2008 07:18:14 AM Gunnar Wrobel Comment #5 Reply to this comment
Fixed in CVS, thanks.
Thanks, Gunnar! I have not tried the updated code yet,
does it show an error message to the user if you
add an attendee without an email address?
Adding an empty mail address doesn't do anything on my side. Meaning: 
as the value is empty no attendee is added but there is also no need 
for showing an error.



The problem I saw was adding an invalid mail address.



If you add a mail address like "a@b@c" you will get an error now 
instead of a blank page and a fatal PHP error.
04/25/2008 07:08:59 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #4 Reply to this comment
Fixed in CVS, thanks.
Thanks, Gunnar! I have not tried the updated code yet,

does it show an error message to the user if you

add an attendee without an email address?


04/24/2008 04:27:54 PM Gunnar Wrobel Comment #3
Assigned to Jan Schneider
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks.
04/24/2008 09:34:56 AM thomas (dot) jarosch (at) intra2net (dot) com Comment #2 Reply to this comment
Hello,



I don't think it's related to Kolab: This error message gets triggered 
when you add an attendee without an email address, attendees with an 
email address are fine.



$parser->parseAddressList(

             $newAttendee, $default_domain, false, false)



returns PEAR_Error for that. Please requeue to kronolith.



Thomas


04/16/2008 06:51:40 PM Chuck Hagenbuch Assigned to Gunnar Wrobel
State ⇒ Assigned
 
04/16/2008 06:51:32 PM Chuck Hagenbuch Queue ⇒ Kolab
Version ⇒
 
04/15/2008 03:45:59 PM fp (at) khamsa (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ error while adding attendees to an event in kronolith
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Adding an attendee to an event in a calendar make the following error appear:

[15-Apr-2008 17:34:45] PHP Notice:  Trying to get property of 
non-object in /usr/share/php/Horde/DOM.php on line 307

[15-Apr-2008 17:40:43] PHP Fatal error:  Cannot use object of type 
PEAR_Error as array in /var/www/horde/kronolith/attendees.php on line 64



The calendar used use as a backend kolab.



The code is the CVS of 15-04-2008 .






Saved Queries