Summary | Importing vCal saves to wrong calendar |
Queue | Kronolith |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | Horde Developers (at) |
Requester | jason (at) dixongroup (dot) net |
Created | 08/30/2005 (7323 days ago) |
Due | |
Updated | 10/19/2005 (7273 days ago) |
Assigned | 10/17/2005 (7275 days ago) |
Resolved | 10/19/2005 (7273 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
look forward to trying this out next chance I get.
State ⇒ Resolved
calendars. Moving the open() call below that fixed this bug.
New Attachment: kronolith_import_patch.txt
I believe the $kronolith global variable gets clobbered at some point
during the import loop, although I could not track it down to actual
offending line of code. Moving the $kronolith->open(...) call into the
import loop fixes the problem by restoring the target calendar name
from the session variable just prior to constructing the new event
instance.
The open(..) method appears to have some defensive code that will
allow it to reuse an existing DB connection whenever possible, so I
expect only a minor performance penalty. While I admit this approach
is a bit heavy-handed, such is the price of using globals.
Comments and feedback welcome.
Tom Evans
Tachometry
Assigned to
State ⇒ Assigned
and iCal importing and the deal is that it always puts the new entries
into the last calendar alphabetically, no matter what you choose to
import to. To reproduce, create a new calendar called "Active", which
will sort first and try an import data to it.
recently with CVS HEAD from about half a week ago. However, when I
tried to start with a clean user to make simple reproduction steps, I
found I couldn't reproduce it easily. There clearly is some type of
non-obvious circumstances that cause this behavoir. I will continue
trying to find those.
If it helps, the user who was having the problems was a user who
started out with a fresh clean database and had >2000 entries imported
via SyncML.
State ⇒ Not A Bug
State ⇒ Feedback
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Importing vCal saves to wrong calendar
Queue ⇒ Kronolith
State ⇒ Unconfirmed
into Kronolith. They'll create a new calendar, then import a
vCalendar (exported from Netscape Calendar) to the calendar. However,
it will always assign the imported events to their original calendar.
It doesn't matter if the "new" calendar is set to default or not, same
behavior.