Re: [SOGo] DURATION and DTEND bug ?

2023-10-30 Thread gdelafond+sogo.nu
> I've enabled it.
> Quentin

Thank you. Issue created : #5895.
-- 
Guillaume

>> -Original Message-
>> From: users-requ...@sogo.nu  On Behalf Of 
>> gdelafond+sogo.nu
>> Sent: samedi 28 octobre 2023 01:03
>> To: users@sogo.nu
>> Subject: Re: [SOGo] DURATION and DTEND bug ?
>> 
>> I have created the account on the butcracker.
>> --
>> Guillaume
>> 
>>> On 28 Oct 2023, at 00:53, [AR] Guillaume de Lafond  
>>> wrote:
>>> 
>>> Hello,
>>> 
>>>> More than a bug it seems that's a case that sogo doesn't handle. iCalendar 
>>>> specs allow a lot of ics configurations, and it seems you found one that 
>>>> is not properly manage by sogo. The best would be that you open an issue 
>>>> on https://bugs.sogo.nu/ so we can follow and discuss this issue. If you 
>>>> don't have an account yet, create one but we have to enable it (we put 
>>>> this protection to avoid spam), so send an email here to notice me. In 
>>>> this issue, can you provide an ics so we can reproduce the problem?
>>> 
>>> Ok I’ll do that.
>>> 
>>>> Also, when you said: " I tested it with Thunderbird and Korganizer on 
>>>> linux and they accept it." Does at mean those accept the ics with both 
>>>> DURATION and DTEND or when you do the modification there, the ics is 
>>>> correctly changed?
>>> 
>>> They accept the ICS with both DURATION and DTEND.
>>> 
>>> 
>>> Guillaume



RE: [SOGo] DURATION and DTEND bug ?

2023-10-29 Thread qhivert
I've enabled it.

Quentin

-Original Message-
From: users-requ...@sogo.nu  On Behalf Of 
gdelafond+sogo.nu
Sent: samedi 28 octobre 2023 01:03
To: users@sogo.nu
Subject: Re: [SOGo] DURATION and DTEND bug ?

I have created the account on the butcracker.
--
Guillaume

> On 28 Oct 2023, at 00:53, [AR] Guillaume de Lafond  
> wrote:
> 
> Hello,
> 
>> More than a bug it seems that's a case that sogo doesn't handle. iCalendar 
>> specs allow a lot of ics configurations, and it seems you found one that is 
>> not properly manage by sogo. The best would be that you open an issue on 
>> https://bugs.sogo.nu/ so we can follow and discuss this issue. If you don't 
>> have an account yet, create one but we have to enable it (we put this 
>> protection to avoid spam), so send an email here to notice me. In this 
>> issue, can you provide an ics so we can reproduce the problem?
> 
> Ok I’ll do that.
> 
>> Also, when you said: " I tested it with Thunderbird and Korganizer on linux 
>> and they accept it." Does at mean those accept the ics with both DURATION 
>> and DTEND or when you do the modification there, the ics is correctly 
>> changed?
> 
> They accept the ICS with both DURATION and DTEND.
> 
> 
> Guillaume



Re: [SOGo] DURATION and DTEND bug ?

2023-10-29 Thread gdelafond+sogo.nu
I have created the account on the butcracker.
--
Guillaume

> On 28 Oct 2023, at 00:53, [AR] Guillaume de Lafond  
> wrote:
> 
> Hello,
> 
>> More than a bug it seems that's a case that sogo doesn't handle. iCalendar 
>> specs allow a lot of ics configurations, and it seems you found one that is 
>> not properly manage by sogo. The best would be that you open an issue on 
>> https://bugs.sogo.nu/ so we can follow and discuss this issue. If you don't 
>> have an account yet, create one but we have to enable it (we put this 
>> protection to avoid spam), so send an email here to notice me. In this 
>> issue, can you provide an ics so we can reproduce the problem?
> 
> Ok I’ll do that.
> 
>> Also, when you said: " I tested it with Thunderbird and Korganizer on linux 
>> and they accept it." Does at mean those accept the ics with both DURATION 
>> and DTEND or when you do the modification there, the ics is correctly 
>> changed?
> 
> They accept the ICS with both DURATION and DTEND.
> 
> 
> Guillaume


Re: [SOGo] DURATION and DTEND bug ?

2023-10-27 Thread gdelafond+sogo.nu
Hello,

> More than a bug it seems that's a case that sogo doesn't handle. iCalendar 
> specs allow a lot of ics configurations, and it seems you found one that is 
> not properly manage by sogo. The best would be that you open an issue on 
> https://bugs.sogo.nu/ so we can follow and discuss this issue. If you don't 
> have an account yet, create one but we have to enable it (we put this 
> protection to avoid spam), so send an email here to notice me. In this issue, 
> can you provide an ics so we can reproduce the problem?

Ok I’ll do that.

> Also, when you said: " I tested it with Thunderbird and Korganizer on linux 
> and they accept it." Does at mean those accept the ics with both DURATION and 
> DTEND or when you do the modification there, the ics is correctly changed?

They accept the ICS with both DURATION and DTEND.


— 
Guillaume



RE: [SOGo] DURATION and DTEND bug ?

2023-10-26 Thread qhivert
Hello,

More than a bug it seems that's a case that sogo doesn't handle. iCalendar 
specs allow a lot of ics configurations, and it seems you found one that is not 
properly manage by sogo. The best would be that you open an issue on 
https://bugs.sogo.nu/ so we can follow and discuss this issue. If you don't 
have an account yet, create one but we have to enable it (we put this 
protection to avoid spam), so send an email here to notice me. In this issue, 
can you provide an ics so we can reproduce the problem?
Also, when you said: " I tested it with Thunderbird and Korganizer on linux and 
they accept it." Does at mean those accept the ics with both DURATION and DTEND 
or when you do the modification there, the ics is correctly changed?

Quentin

-Original Message-
From: users-requ...@sogo.nu  On Behalf Of 
gdelafond+sogo.nu
Sent: jeudi 26 octobre 2023 11:18
To: users@sogo.nu
Subject: [SOGo] DURATION and DTEND bug ?

Hello,

Summary: We have a problem when modifying an ICS that contains “DURATION=“.

We have a cal.com instance that is connected to a SOGo caldav server. 
cal.com create events in SOGo calendars with DTSTART & DURATION options.

If we modify the event in SOGo (to add an additional attendee), SOGo adds 
“DTEND” in the ICS but doesn't remove the “DURATION".

At the end, the ICS contains DURATION and DTEND, but the rfc5546 says : 
|   DTEND| 0 or 1   | If present, DURATION MUST NOT be  present
|   DURATION  | 0 or 1   | If present, DTEND MUST NOT be  present

When the ICS contains DTEND & DURATION, the event is not visible on Apple 
Calendar.app (via the caldav connection) and the ICS cannot be manually 
imported (On macOS 13.6, Calendar.app says "No event was added. No valid events 
were found to add to your calendar.").

I tested it with Thunderbird and Korganizer on linux and they accept it.

I think it is a SOGo bug, isn’ t it ?

Thank you.

Regards,
-- 
Guillaume




[SOGo] DURATION and DTEND bug ?

2023-10-26 Thread gdelafond+sogo.nu
Hello,

Summary: We have a problem when modifying an ICS that contains “DURATION=“.

We have a cal.com instance that is connected to a SOGo caldav server. 
cal.com create events in SOGo calendars with DTSTART & DURATION options.

If we modify the event in SOGo (to add an additional attendee), SOGo adds 
“DTEND” in the ICS but doesn't remove the “DURATION".

At the end, the ICS contains DURATION and DTEND, but the rfc5546 says : 
|   DTEND| 0 or 1   | If present, DURATION MUST NOT be  present
|   DURATION  | 0 or 1   | If present, DTEND MUST NOT be  present

When the ICS contains DTEND & DURATION, the event is not visible on Apple 
Calendar.app (via the caldav connection) and the ICS cannot be manually 
imported (On macOS 13.6, Calendar.app says "No event was added. No valid events 
were found to add to your calendar.").

I tested it with Thunderbird and Korganizer on linux and they accept it.

I think it is a SOGo bug, isn’ t it ?

Thank you.

Regards,
-- 
Guillaume