Commit c55e61e
committed
oxcical: better error string for event instance group without RRULE
In a VEVENT group (one with the same UID) for a recurrence, there
must be one main event with an RRULE line, and the subordinates with
RECURRENCE-ID lines. If there is no VEVENT with RRULE, the calendar
file is broken and eml2mt rejects it. The messsage was just the
generic:
```
$ eml2mt --ical t.ics >/dev/zero
t.ics: Import rejected for an unspecified reason (usually a too-strict parser).
```
Now this case outputs:
```
E-2739: Some VEVENT.RECURRENCE-ID points to a UID but there was no
RRULE line anywhere
```
References: GXL-598, DESK-34261 parent a264470 commit c55e61e
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1955 | 1955 | | |
1956 | 1956 | | |
1957 | 1957 | | |
1958 | | - | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
1959 | 1961 | | |
1960 | 1962 | | |
1961 | 1963 | | |
| |||
1979 | 1981 | | |
1980 | 1982 | | |
1981 | 1983 | | |
| 1984 | + | |
| 1985 | + | |
1982 | 1986 | | |
1983 | 1987 | | |
1984 | 1988 | | |
| |||
0 commit comments