[Tickets #13158] UID in Event-Invitation NOT in the Link

noreply at bugs.horde.org noreply at bugs.horde.org
Fri May 2 10:06:09 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13158
------------------------------------------------------------------------------
  Ticket             | 13158
  Created By         | chrizn at gmail.com
  Summary            | UID in Event-Invitation NOT in the Link
  Queue              | Kronolith
  Version            | 4.1.5
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          | ALL
  Patch              |
  Owners             |
------------------------------------------------------------------------------


chrizn at gmail.com (2014-05-02 10:06) wrote:

Hi,
in the invitation E-Mails, when i press the link for accept, deny,  
..., the Event is not updated in the Calendar of the Organizer of the  
Event.

This situation is there for all invited Persons, which are NOT  
connected with an account on my Mailserver & are not logged in! And  
also the "Error Message" provided isn't helpful.
Message: "No from address provided."


The provided link is for example:

https://konfig.example.org/webmail/kronolith/attend.php?c=aJdjypjhjb8nsR6qJ9bKSQ1&e=mf7ZkRJeVskZVepxJBxTkQ7&u=external.user%40example.com&a=accept

the more or less type of link, which is working, is:

https://konfig.example.org/webmail/kronolith/attend.php?c=aJdjypjhjb8nsR6qJ9bKSQ1&i=20140502090843.rLBcJfSsOmALrbgfppSlwg3%40.example.org&e=mf7ZkRJeVskZVepxJBxTkQ7&u=external.user%40example.com&a=accept

The i-variable in the link is created with the "event_uid" from the database.

So, i think, there is somewhere a failure in the Linkcreating part of  
the event-creation/invitation mail.
I believe, it's first in the kronolith.php in this part:

if ($action == self::ITIP_REQUEST) {
                 $attend_link = Horde::url('attend.php', true, -1)
                     ->add(array('c' => $event->calendar,
                                 'e' => $event->id,
                                 'u' => $email));
                 $view->linkAccept    = (string)$attend_link->add('a',  
'accept');
                 $view->linkTentative = (string)$attend_link->add('a',  
'tentative');
                 $view->linkDecline   = (string)$attend_link->add('a',  
'decline');
             }
Probably there have to be:

if ($action == self::ITIP_REQUEST) {
                 $attend_link = Horde::url('attend.php', true, -1)
                     ->add(array('c' => $event->calendar,
                                 'i' => $event->uid,
                                 'e' => $event->id,
                                 'u' => $email));
                 $view->linkAccept    = (string)$attend_link->add('a',  
'accept');
                 $view->linkTentative = (string)$attend_link->add('a',  
'tentative');
                 $view->linkDecline   = (string)$attend_link->add('a',  
'decline');
             }

if there is anywhere else a need for code-change, and my thought is  
right, i don't know.

But without the i-variable the Events in the calendars don't update!

Best Regards,
ChriZ






More information about the bugs mailing list