Re: [calsify] jscalendar event/task overrides without master

Michael Douglass <mikeadouglass@gmail.com> Mon, 01 February 2021 22:03 UTC

Return-Path: <mikeadouglass@gmail.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 467EC3A1517 for <calsify@ietfa.amsl.com>; Mon, 1 Feb 2021 14:03:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ncu5ryvTVYDO for <calsify@ietfa.amsl.com>; Mon, 1 Feb 2021 14:03:23 -0800 (PST)
Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B2DD3A1518 for <calsify@ietf.org>; Mon, 1 Feb 2021 14:03:23 -0800 (PST)
Received: by mail-qk1-x729.google.com with SMTP id 19so17963498qkh.3 for <calsify@ietf.org>; Mon, 01 Feb 2021 14:03:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=zVkX7tcw4p117ZT7y4MYf01JTRzswYu+V6a0tMu24sk=; b=DCZnmp2tan9eamB6InONxCe+SDeMM0h7K0yGJrS6rtXCHymKJ/cGMzIpyUJQnjUrBe XB+XcdPKk56ZaoSGJjghRowuvyPn7DJEgYMxJp36pRktn+uQAXm1D/TEbN0kGD0bwMEz pQ9mqRUN9DAvTjJfsk8RJweZk2J1izVY6pANKh+GPay4tpUI8uc5n5npr2rQd8PmSCzL giLQvcTxxhMpmzwNSd+hPMvjXLG+fXnrKAS5Zd/zQ9ZNPw+P/nUJZydZEsdjRFzdocpt ezxcIlAzoRDy3x3PdwOEI0Dv/mJzJ9vMJZMqOUWfXFwgxAWvAuQvDMNJWI5f6QjeDfEB QzMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=zVkX7tcw4p117ZT7y4MYf01JTRzswYu+V6a0tMu24sk=; b=mRJaLMN7vEIN0OZhwSDokppostxON3AfTS5qE+xp6RSSbsgjPZC44WFrMB2BLxqrc+ d0j3SRwm+EWlaR3dolrahXAxOGpx8nhrXYFIDd9Y4otSKPBTvNV8tOTxtfb/oKEf6W7k 7uYYe2+hNt51kp/79ybgjYoJVhegUNnEA6gjcKvcV23qJON0Iljg+dSJ52ScIDoYGnpI 7fk73JMi1QOXw4H3eafxbuKHkmgJpRb3l4AltfSfXJmKW+V5sYhOKBNaObbclbqqiod8 tq5wWWp+O3ENnOOWfzdc3hPBqxp2oaXCdIlp/8xhrIiQvqu9LqEfjtRnBdQ6vdiOnRf8 ZPrg==
X-Gm-Message-State: AOAM530jVW7kJe8zIZFUWwa7hPz7S+NIaTjJ0SokoP3f4fr5hN7ervcx iv/t+afwdkO9RN9nqtAFu2J9ZpdqGaE=
X-Google-Smtp-Source: ABdhPJykE5MYDfqjSZX7GepttZLR8/KdusDWGptnbveOkGLDp6Tsvz84oAidm36zou37FOYQN/NeyA==
X-Received: by 2002:a37:8b81:: with SMTP id n123mr18350376qkd.242.1612217001975; Mon, 01 Feb 2021 14:03:21 -0800 (PST)
Received: from [192.168.1.151] (cpe-74-70-70-237.nycap.res.rr.com. [74.70.70.237]) by smtp.googlemail.com with ESMTPSA id k8sm14255771qkk.79.2021.02.01.14.03.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Feb 2021 14:03:21 -0800 (PST)
To: Marten Gajda <marten@dmfs.org>, calsify@ietf.org
References: <416d125e-7be5-92ff-fa4f-e1fc35895fb2@dmfs.org>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <5d72a4ea-c78d-a582-b062-5737ea43632b@gmail.com>
Date: Mon, 1 Feb 2021 17:03:20 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <416d125e-7be5-92ff-fa4f-e1fc35895fb2@dmfs.org>
Content-Type: multipart/alternative; boundary="------------F60DBDACCE6D99C7DAA850B4"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/_fcba8r9OtBYyuXoTxLrkcrMhUI>
Subject: Re: [calsify] jscalendar event/task overrides without master
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Feb 2021 22:03:25 -0000

On 2/1/21 15:55, Marten Gajda wrote:
> Hi all,
>
> I've started to implement a simple task list to JSGroup file export 
> and came across an issue I couldn't find an answer to. So hopefully 
> someone is able to help me with this.
>
> It may happen that the task list contains a recurring task instance 
> without also containing the master task. This might happen when you 
> are assigned to a single instance of a recurring task.
>
> In icalendar I'd just omit the master VTODO, but how do I do that in 
> jscalendar? IIRC the base object must be a valid jstask.
>
> The same issue applies to events, of course. Not sure if we have 
> discussed this before but I can't remember nor can I find anything 
> about it.
>
> So what's the right way to store such a task/event if I don't have any 
> information about the master?

I ran into this issue as I was implementing the conversion for bedework. 
The situation obviously arises during scheduling but might also arise 
with publishing a single instance.

I think the short answer is that the overrride must be a complete 
representation of the event/task as modified by the override. I did 
raise an issue with that. If the override has the start timezone 
modified then there's no way to determine the actual timezone of the 
master. In iCal the recurrence id has the timezone represented as the 
tzid parameter.

The suggestion made was to use a "recurrenceIdTimeZone" property to 
specify the timezone used for recurrence ids.

>
> Cheers,
>
> Marten
>
>
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify