6.0.0-beta1
9/25/25

[#11669] vEvent missing UID causes server error
Summary vEvent missing UID causes server error
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 11/07/2012 (4705 days ago)
Due
Updated 11/08/2012 (4704 days ago)
Assigned
Resolved 11/08/2012 (4704 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/08/2012 04:06:27 AM Michael Slusarz Comment #3
Taken from Jan Schneider
State ⇒ Resolved
Reply to this comment
Answered my own question: getAttribute() needs to continue throwing 
exception if UID does not exist.  It is calling code's responsibility 
to workaround missing UID.
11/08/2012 04:05:22 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 5e085ae5c41821aec6f3f70b8f52644b1dd6e7e8
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Nov 7 21:05:11 2012 -0700

     [mms] Allow iCalendar events to be added to the calendar even if 
they are missing the required UID parameter (Bug #11669).

  imp/docs/CHANGES                   |    2 ++
  imp/lib/Ajax/Imple/ItipRequest.php |    9 ++++++++-
  imp/package.xml                    |    2 ++
  3 files changed, 12 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/5e085ae5c41821aec6f3f70b8f52644b1dd6e7e8
11/07/2012 07:47:14 PM Michael Slusarz Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Assigned to Jan Schneider
Queue ⇒ IMP
Summary ⇒ vEvent missing UID causes server error
Type ⇒ Bug
State ⇒ Assigned
Reply to this comment
Today I received a VEVENT request that does not contain a UID value.   
Two issues:

1. Should we somehow try to "fake" a UID?  i.e. taking the SHA1 
checksum of the vcalendar data?  This is the only way I can think of 
preventing duplicate adds if using IMP.  Or do we just create a random 
UUID, with the expectation that if duplicate adds happen, that's just 
the reality of dealing with an event with no UID.

I assume this automatic UID determination should be done in the 
Icalendar library.

2. If 1 is untenable, we need to at least catch this and give a proper 
error message.

Saved Queries