-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
[RFC] handling of broken icals #174
Comments
It seems that the third option is the closest to the solution they use in libical where components consist of lists of properties. If an error occurred during parsing they add an error property accordingly. See https://github.com/libical/libical/blob/master/src/libical/icalparser.c#L562. |
Date-time was recognized incorrectly as a date or time. This resulted in wrong representation of some iCalendar strings. Also adds "errors" list in Component for saving error strings from parsing. collective#174 collective#168
Date-time was recognized incorrectly as a date or time. This resulted in wrong representation of some iCalendar strings. Also adds "errors" list in Component for saving error strings from parsing. collective#174 collective#168
Date-time was recognized incorrectly as a date or time. This resulted in wrong representation of some iCalendar strings. Also adds "errors" list in Component for saving error strings from parsing. collective#174 collective#168
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of collective#158 Improves collective#174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of collective#158 Improves collective#174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of collective#158 Improves collective#174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of collective#158 Improves collective#174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of collective#158 Improves collective#174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of #158 Improves #174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of #158 Improves #174
Previously, if error occured during the creation of inner type instance from iCalendar string, the error with the name of the bogus property would be stored in the appropriate component's errors attribute along with the error string but the property's value would be removed from the parsed representation. This patch keeps the value even with its parameters at that certain property, the value's type is changed to vText. Should allow implementation of #158 Improves #174
@geier, now, there is some kind of recognition of broken ical files. Would you close this or could you specify closing critaria? |
I commented here: #315 (comment) - I would do both - add a broken/valid property and not raise an exception but a warning. |
I don't really care about this issue, but we probably still should implement the suggested features (warnings and some kind of validate function). |
I would like to introduce some kind of handling of for broken/invalid icalendar files and would like your input on how to build this feature.
Some ideas off the top of my head:
three different (possible) modes:
broken
orvalid
property to each componentThe text was updated successfully, but these errors were encountered: