Skip to content

[FIX] Calendar : Fix system error related to item creation

Ticket: https://avan.tech/item103509

The first error occurs when checking the 'Recurrence' option, and the second when checking the 'All day' option to modify or create an event.

First error:

Incorrect integer value: '' for column `26x`.`tiki_calendar_recurrence`.`categoryId` at row 1
The query was:

INSERT INTO tiki_calendar_recurrence (calendarId, start, end, allday, locationId, categoryId, nlId, priority, status, url, lang, name, description, daily, days, weekly, weeks, weekdays, monthly, months, dayOfMonth, monthlyType, monthlyWeekdayValue, yearly, years, yearlyType, dateOfYear, yearlyWeekdayValue, yearlyWeekMonth, nbRecurrences, startPeriod, endPeriod, user, created, lastModif, uri, uid, recurrenceDstTimezone) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Values:

Second error:

Incorrect integer value: 'true' for column `26x`.`tiki_calendar_items`.`allday` at row 1
The query was:

INSERT INTO `tiki_calendar_items` (`calendarId`,`start`,`end`,`locationId`,`categoryId`,`nlId`,`priority`,`status`,`url`,`lang`,`name`,`description`,`user`,`created`,`lastmodif`,`allday`,`recurrenceId`,`changed`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Values:
Edited by Adrien Mbuya Maloba

Merge request reports