[Korganizer-devel] [Bug 171433] New: ASSERT: "dt.isValid()" when exporting a vCalendar (vcs) file

Harald Sitter sitter.harald at gmail.com
Mon Sep 22 03:46:21 CEST 2008


http://bugs.kde.org/show_bug.cgi?id=171433

           Summary: ASSERT: "dt.isValid()" when exporting a vCalendar (vcs)
                    file
           Product: korganizer
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: korganizer-devel at kde.org
        ReportedBy: sitter.harald at gmail.com


Version:            (using KDE 4.1.1)
Compiler:          gcc (Ubuntu 4.3.2-1ubuntu7) 4.3.2

OS:                Linux
Installed from:    Ubuntu Packages

If I create a To Do item in KOrganizer that has a due date set, but no time,
then export it to vcs format (File -> Export -> vCalendar), KOrganizer crashes
on Q_ASSERT( dt.isValid() ) in VCalFormat::kDateTimeToISO. The "type" of the
KDateTime variable, dt, is SpecType::Invalid.

To-Do items with no due date, or with a complete due date including the time of
day, are exported without a problem.

The terminal output from the crash is:
 kontact
 kontact(15641)/kmail KMailPart::KMailPart: InstanceName: "kontact"
 kontact(15641)/kmail KMailPart::KMailPart: InstanceName: "kontact"
 kontact(15641)/kmail KMail::lockOrDie: oldPid= 15482
 kontact(15641)/kmail KMKernel::KMKernel:
 kontact(15641)/kmail KMKernel::init: foldersPath (from config):
"/home/ubuntu/.kde/share/apps/kmail/mail"
 kontact(15641)/kmail KMKernel::identityManager:
 kontact(15641)/kmail KMFilterMgr::KMFilterMgr: pPopFilter set
 kontact(15641)/kmail KMailPart::guiActivateEvent:
 kontact(15641)/kmail KMailPart::guiActivateEvent:
 kontact(15641)/kmail KMailPart::guiActivateEvent:
 kontact(15641)/kmail KMailPart::guiActivateEvent:
 ubuntu at ubuntu:~$ kontact(15641)/kmail KMail::Vacation::Vacation: Vacation:
found url " "" "
 kontact(15641) KFileDialog::getSaveFileName: KFileDialog::getSaveFileName
called with non-local start dir KUrl("vcalout.vcs")
 kontact(15641) KFileItem::isDir: can't say -> false
 ASSERT: "dt.isValid()" in file
/build/buildd/kdepimlibs-4.1.1/kcal/vcalformat.cpp, line 1380
 *** KMail got signal 6 (Crashing)
 KCrash: Application 'kontact' crashing...

Forwarded from: https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/254137


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list