[korganizer] [Bug 411777] import of vcs fails, still says success

2022-04-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=411777

gjditchfi...@acm.org changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED
 CC||gjditchfi...@acm.org

--- Comment #5 from gjditchfi...@acm.org ---


*** This bug has been marked as a duplicate of bug 339726 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 411777] import of vcs fails, still says success

2020-04-19 Thread Martin Koller
https://bugs.kde.org/show_bug.cgi?id=411777

--- Comment #4 from Martin Koller  ---
I tested now again with a self-compiled KDE-PIM (20.04) on

Operating System: openSUSE Tumbleweed 20200415
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Kernel Version: 5.6.2-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 15,5 GiB of RAM

Now korganizer and korgac crash when I import it and merge it into an existing
calendar (stored on a nextcloud server).
backtrace of korganizer below.
When I import it as a new calendar, then it is still not shown in korganizer
but at least no crash.
Checking with akonadiconsole and looking on the new calendar shows 0 items.

Thread 1 (Thread 0x7fd1985ed880 (LWP 15319)):
[KCrash Handler]
#6  0x7fd19b572ea1 in raise () from /lib64/libc.so.6
#7  0x7fd19b55c53d in abort () from /lib64/libc.so.6
#8  0x7fd19bad1aef in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1894
#9  QMessageLogger::fatal (this=this@entry=0x7fff2e279750,
msg=msg@entry=0x7fd19bdbeea0 "ASSERT: \"%s\" in file %s, line %d") at
global/qlogging.cpp:893
#10 0x7fd19bad0f2f in qt_assert (assertion=, file=, line=) at
../../include/QtCore/../../src/corelib/global/qlogging.h:90
#11 0x7fd19e33ed39 in Akonadi::ETMCalendarPrivate::updateItem
(this=0x2430480, item=...) at
/home/KDE5/source/kde/pim/akonadi-calendar/src/etmcalendar.cpp:408
#12 0x7fd19e33d534 in
Akonadi::ETMCalendarPrivate::onDataChangedInFilteredModel (this=0x2430480,
topLeft=..., bottomRight=...) at
/home/KDE5/source/kde/pim/akonadi-calendar/src/etmcalendar.cpp:394
#13 0x7fd19e34b947 in QtPrivate::FunctorCall,
QtPrivate::List, void, void
(Akonadi::ETMCalendarPrivate::*)(QModelIndex const&, QModelIndex const&)>::call
(f=(void (Akonadi::ETMCalendarPrivate::*)(Akonadi::ETMCalendarPrivate * const,
const QModelIndex &, const QModelIndex &)) 0x7fd19e33d420
, o=0x2430480, arg=0x7fff2e279bf0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#14 0x7fd19e34b8a8 in QtPrivate::FunctionPointer::call, void>
(f=(void (Akonadi::ETMCalendarPrivate::*)(Akonadi::ETMCalendarPrivate * const,
const QModelIndex &, const QModelIndex &)) 0x7fd19e33d420
, o=0x2430480, arg=0x7fff2e279bf0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#15 0x7fd19e34b7d5 in QtPrivate::QSlotObject, void>::impl (which=1,
this_=0x246d9b0, r=0x2430480, a=0x7fff2e279bf0, ret=0x0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:414
#16 0x7fd19bd149fe in QtPrivate::QSlotObjectBase::call (a=0x7fff2e279bf0,
r=0x2430480, this=0x246d9b0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#17 doActivate (sender=0x247a4b0, signal_index=3, argv=0x7fff2e279bf0)
at kernel/qobject.cpp:3870
#18 0x7fd19bd0f1bf in QMetaObject::activate (sender=sender@entry=0x247a4b0,
m=m@entry=0x7fd19bfa1060 ,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff2e279bf0)
at kernel/qobject.cpp:3930
#19 0x7fd19bc83d35 in QAbstractItemModel::dataChanged
(this=this@entry=0x247a4b0, _t1=..., _t2=..., _t3=...) at
.moc/moc_qabstractitemmodel.cpp:557
#20 0x7fd19bcb7b2d in QSortFilterProxyModelPrivate::_q_sourceDataChanged
(this=0x247f6c0, source_top_left=..., source_bottom_right=..., roles=...) at
itemmodels/qsortfilterproxymodel.cpp:1500
#21 0x7fd19bcb8c2a in QSortFilterProxyModel::qt_static_metacall
(_o=, _c=, _id=, _a=) at itemmodels/qsortfilterproxymodel.h:199
#22 0x7fd19bd14a30 in doActivate (sender=0x24430e0, signal_index=3,
argv=0x7fff2e279ee0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:391
#23 0x7fd19bd0f1bf in QMetaObject::activate (sender=sender@entry=0x24430e0,
m=m@entry=0x7fd19bfa1060 ,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff2e279ee0)
at kernel/qobject.cpp:3930
#24 0x7fd19bc83d35 in QAbstractItemModel::dataChanged
(this=this@entry=0x24430e0, _t1=..., _t2=..., _t3=...) at
.moc/moc_qabstractitemmodel.cpp:557
#25 0x7fd19bcb7b2d in QSortFilterProxyModelPrivate::_q_sourceDataChanged
(this=0x247e6d0, source_top_left=..., source_bottom_right=..., roles=...) at
itemmodels/qsortfilterproxymodel.cpp:1500
#26 0x7fd19bcb8c2a in QSortFilterProxyModel::qt_static_metacall
(_o=, _c=, _id=, _a=) at itemmodels/qsortfilterproxymodel.h:199
#27 0x7fd19bd14a30 in doActivate (sender=0x23fef30, signal_index=3,
argv=0x7fff2e27a1d0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:391
#28 0x7fd19bd0f1bf in QMetaObject::activate (sender=sender@entry=0x23fef30,
m=m@entry=0x7fd19bfa1060 ,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff2e27a1d0)
at kernel/qobject.cpp:3930
#29 0x7fd19bc83d35 in QAbstractItemModel::dataChanged
(this=this@entry=0x23fef30, _t1=..., _t2=..., _t3=...) at
.moc/moc_qabstractitemmodel.cpp:557
#30 0x7fd19bcb7b2d in QSortFilterProxyModelPrivate::_q_sourceDataChanged
(this=0x247d3b0, source_top_left=..., source_bottom_right=..., roles=...) at
i

[korganizer] [Bug 411777] import of vcs fails, still says success

2020-03-30 Thread Allen Winter
https://bugs.kde.org/show_bug.cgi?id=411777

Allen Winter  changed:

   What|Removed |Added

 CC||win...@kde.org

--- Comment #3 from Allen Winter  ---
can you test in the next frameworks release?

FTR: commit 
b3dc1e5d495721797dba0f28ee3eb01555bb5605 in KCalendarCore project

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 411777] import of vcs fails, still says success

2019-12-07 Thread John Scott
https://bugs.kde.org/show_bug.cgi?id=411777

--- Comment #2 from John Scott  ---
(In reply to Martin Koller from comment #0)
> Created attachment 122574 [details]
> test vcs
> 
> SUMMARY
> A webpage produced the attached vcs file.
> When importing it, korganizer shows a blue bar saying "1 incidence was
> successfully imported" but in konsole I see the log output:
> 
> Incidence has empty UID. id= 336260 ; summary= "Test" Please fix it.
> Ignoring this incidence.
> org.kde.pim.kcalcore: The incidence didn't have any UID! Report a bug  to
> the application that generated this file.
> 
> OBSERVED RESULT
> The incidence is not shown in korganizer
> 
> EXPECTED RESULT
> Show imported incidence.
> When an import finds a missing UID, it should simply generate one and import
> the file, instead of just ignoring this file. A user can not control what
> content a web server produces and there is zero chance that a user can
> convince any company to fix the producer.
> Please be more forgiving on broken input.
> 
> SOFTWARE/OS VERSIONS
> KDE Frameworks 5.61.0
> Qt 5.13.0 (built against 5.13.0)
> The xcb windowing system
> openSuse Leap 15.0

The mention of an issue with empty UID looks similar to
https://bugs.kde.org/show_bug.cgi?id=378391#c2 , could you take a look?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 411777] import of vcs fails, still says success

2019-12-03 Thread John Scott
https://bugs.kde.org/show_bug.cgi?id=411777

John Scott  changed:

   What|Removed |Added

 CC||jsc...@posteo.net

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 411777] import of vcs fails, still says success

2019-09-10 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=411777

Laurent Montel  changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #1 from Laurent Montel  ---
I confirm it. There is still another bug report about it.
I tried to fix it but it very hard to report error to korganizer...

-- 
You are receiving this mail because:
You are the assignee for the bug.