Comments (5)
Issue related to vobject, not caldav. Closing issue here
from caldav.
We may consider abandoning vobject eventually.
Anyway, it's interesting to know if this is a breach of the standard or not. As I read https://tools.ietf.org/html/rfc5545#section-3.3.6 a single P without any trailing period information is invalid, hence it's not a bug in vobject.
There is always a question if one should create workarounds when software applications break the standard. I think the most proper would be:
- try to fix this issue at the producer side, as the producer of the ical data is breaching the standard.
- if the above fails, make a filter before feeding the data to the caldav library, i.e. a regexp replace s/^DURATION:P$/DURATION:P0S/
from caldav.
Thanks for the feedback on this.
I agree that 1. would be best, but that is not likely to happen anytime soon (the client is thunderbird/lightning).
Option 2 sounds doable, but that would have to done in caldav or am I wrong?
My current workaround is a fork of vobject where if this happens, I force a duration of 0s and all is fine.
Though of course I would very much prefer not to do it that way :-)
from caldav.
Thunderbird Lightning is an open source product, isn't it? Report the bug upstream, and perhaps it will be fixed.
I assume you have some interface code between Thunderbird and the python caldav library, that's where I would have put the workaround.
from caldav.
Sure, my point was that it would take a very long time before such a fix would land in my distro ;-)
Anyways, there is a caldav server (davical) involved. I will look into this more to be sure it is actually TB and not maybe davical, which does not conform to the RFC and have this reported wherever appropriate.
Thnx
from caldav.
Related Issues (20)
- test_create_ical can be flaky on Python 3.12 HOT 1
- How do I add the valarm component? HOT 2
- Description field ot updated HOT 1
- Baikal servers reportedly throwing 405 and 500 under HomeAssistant HOT 3
- User-Agent should be configurable HOT 1
- "MAILTO:" in uppercase in change_attendee_status HOT 1
- Change default User-Agent? HOT 1
- CalDAV iCloud Sign-in Error on Home Assistant: Path Handling Problem HOT 3
- Recurrent event with an exception instance leads to multiple `RECURRENCE-ID` values in the exception instance HOT 4
- Error 405 when using Propfind on some webdav servers HOT 6
- Recurrence instances gets stripped when doing `cal.object_by_uid(uid,comp_class=caldav.Event)`
- Improvements, test code and documentation needed for editing and selecting recurrence instances HOT 1
- Problem with accept invite in calendar HOT 5
- Regression: master version does not work towards calendar.mail.ru HOT 3
- Some server needs explicit event or task when doing search HOT 1
- Server compatibility hints
- why not grouping imports? HOT 3
- Does not exists release pipeline HOT 1
- Depend on deprecated vobject HOT 1
- implement support for JMAP protocol HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caldav.