[Tickets #12524] removeUserData() removes all events in public calendars

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Aug 1 11:21:57 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12524
------------------------------------------------------------------------------
  Ticket             | 12524
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | removeUserData() removes all events in public calendars
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-08-01 11:21) wrote:

Hi,

user 'foobear_' reported on IRC that removeUserData() removes _all_  
events in public calendars.

removeUserData() calls Kronolith::removeUserEvents($user).
 From the comment block of that function:
"Remove all events owned by the specified user in all calendars."

Unfortunately the code is lacking filtering by the given user,
so it queues all events of writable shares for deletion.

Thomas






More information about the bugs mailing list