D28361: KCalendarCore: fix fallback to vCalendar loading on iCalendar load failure
Allen Winter
noreply at phabricator.kde.org
Fri Mar 27 20:12:31 GMT 2020
winterz created this revision.
winterz added reviewers: vkrause, dvratil.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
winterz requested review of this revision.
REVISION SUMMARY
If iCalendar loading fails in ICalFormat::load() set an exception.
Then look for that exception in FileStorage::load(). If set, then we know to try vCalendar loading.
TEST PLAN
various scenarios tested. there could be other scenarios I didn't try.
at least I see vCalendars can load now.
REPOSITORY
R172 KCalendar Core
REVISION DETAIL
https://phabricator.kde.org/D28361
AFFECTED FILES
src/filestorage.cpp
src/icalformat.cpp
To: winterz, vkrause, dvratil
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200327/9fe13f05/attachment.html>
More information about the kde-pim
mailing list