Loading...
 
Skip to main content

Calendar Import

Status
Open
Subject
Calendar Import
Version
15.x
Category
  • Error
Feature
Calendar
Resolution status
New
Submitted by
bfw25
Lastmod by
bfw25
Rating
(1)
Description

There are some entries in the forum, reporting that import into calandar failed. I never found any comment about a bug, or a solution. I tried with Tiki 15.0.The error message was:
"The file has incorrect syntax or is not a CSV file"
I located the point where the message is issued in calendarlib.php
and changed the appropriate check there:

old:

Copy to clipboard
if ($fields === false || !array_search('name', $fields)){


new:

Copy to clipboard
if (($fields === false) || (array_search('name', $fields) === false)) {


With this workaround, I can import CSV into calendars

I think that calendars are among the most import features that make the difference between a wiki and a groupware platform.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5975
Created
Sunday 05 June, 2016 16:34:47 UTC
by bfw25
LastModif
Sunday 05 June, 2016 16:46:51 UTC


Show PHP error messages