[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: event not shown
From:       Martin Koller <kollix () aon ! at>
Date:       2018-04-08 16:08:57
Message-ID: 2908796.NzEfTbuP6K () lapi ! koller
[Download RAW message or body]

On Sonntag, 8. April 2018 15:11:59 CEST Allen Winter wrote:
> On Saturday, April 7, 2018 1:21:31 PM EDT Martin Koller wrote:
> > Can someone with a current checkout please try to open the attached test ics file
> > and tell me if he sees the recurring event starting on the 9.April every week ?
> > In my local compiled current version it does not show up.
> > I only see the test event from 8.April.
> > With an older version on a differen computer, it shows, so either my akonadi DB is broken
> > or some bug was introduced.
> > 
> works here.

I found out why it's not shown: it's because I invited myself.

Is this how it's supposed to work ?
I create an event, add my email address as attendee and click OK.
No event shown.
I receive the mail holding the event (which internally has
PARTSTAT=NEEDS-ACTION) but it shows just "I created this invitation."
and does not let me accept the invite and therefore it will never be shown,
since the CalFilterPartStatusProxyModel filters it away.

What about the attached patch, avoiding to filter an event when I'm the organizer ?

And BTW: Even when I select "Request No Response" for a participant, the ics file still
contains PARTSTAT=NEEDS-ACTION
I think this is a bug, right ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at
["diff" (diff)]

diff --git src/calfilterpartstatusproxymodel_p.cpp src/calfilterpartstatusproxymodel_p.cpp
index 5129978..f4ed58e 100644
--- src/calfilterpartstatusproxymodel_p.cpp
+++ src/calfilterpartstatusproxymodel_p.cpp
@@ -108,6 +108,11 @@ bool CalFilterPartStatusProxyModel::filterAcceptsRow(int source_row, const QMode
         return true;
     }
 
+    // always show if we are the organizer
+    if (CalendarUtils::thatIsMe(incidence->organizer()->email())) {
+        return true;
+    }
+
     foreach (const KCalCore::Attendee::Ptr &attendee, incidence->attendees()) {
         if (CalendarUtils::thatIsMe(attendee)) {
             return !d->mBlockedStatusList.contains(attendee->status());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic