Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when an event is modified, its creation timestamp is not preserved #15

Open
hannesm opened this issue Dec 23, 2019 · 0 comments
Open

when an event is modified, its creation timestamp is not preserved #15

hannesm opened this issue Dec 23, 2019 · 0 comments

Comments

@hannesm
Copy link
Contributor

hannesm commented Dec 23, 2019

The Webdav_api.write_component is called by the PUT handler on calendar resources. This in turns calls write_if_parent_exists which creates a fresh property map (Properties.create) with the current timestamp as creation time. It would be nicer if the property map of the original event (if existing) would be preserved -- the modification timestamp is updated in any case).

As example, please take a look at event change, and its accompanying prop change (NB the latter also removed getetag and getlastmodified due to c4f0aa0 and 95cdf78).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant