Loading...
 
Skip to main content

when calendarID is deleted, related calendar items aren't removed from DB

Status
Closed
Subject
when calendarID is deleted, related calendar items aren't removed from DB
Version
1.9.x
Category
  • Error
Feature
Database MySQL (MyISAM)
Calendar
User Administration (Registration, Login & Banning)
Resolution status
Fixed or Solved
Submitted by
Oliver Hertel
Volunteered to solve
Oliver Hertel
Lastmod by
Oliver Hertel
Rating
(0)
Description

In 1.9.0 (and probably 1.8.x), it is possible to delete a calendarId (ex.:1)

When this happens, all calitemId are set to calendarId=0

Items are still in the database but inaccessible.

Solution

Should be impossible to delete a calendarID without deleting all events first (like Articles)

A batch delete with warning is OK of course.

SEVERE integrity issue - please recheck !!

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
162
Created
Thursday 05 May, 2005 21:14:17 UTC
by Unknown
LastModif
Sunday 06 August, 2006 14:08:05 UTC


Collapse/expand modules below
Show PHP error messages