forked from ical-org/ical.net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix when no "SENT-BY" defined, get SentBy will throw exception (ical-…
…org#669) * Fix when no "SENT-BY" defined, get SentBy will throw exception * Enable nullable reference types and add Journal3 test. Nullable reference types were enabled in the `Organizer` class, ensuring properties like `SentBy`, `DirectoryEntry`, and `Value` handle nullability appropriately. A new `Journal3` ICS file and its associated test were added to validate `SENT-BY` behavior in journals. --------- Co-authored-by: Fei Xu <fei.xu@infoflosolutions.com>
- Loading branch information
Showing
4 changed files
with
65 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
BEGIN:VCALENDAR | ||
VERSION:2.0 | ||
PRODID:-//ABC Corporation//NONSGML My Product//EN | ||
BEGIN:VJOURNAL | ||
DTSTAMP:19970324T120000Z | ||
UID:uid5@host1.com | ||
ORGANIZER;SENT-BY=;CN=JohnSmith;DIR="ldap://host.com:6666/ | ||
o=3DDC%20Associates,c=3DUS??(cn=3DJohn%20Smith)":MAILTO:jsmith@host.com | ||
STATUS:FINAL | ||
CLASS:PRIVATE | ||
CATEGORY:Project Report, XYZ, Weekly Meeting | ||
DESCRIPTION:Project xyz Review Meeting Minutes\n | ||
Agenda\n1. Review of project version 1.0 requirements.\n2. | ||
Definition of project processes.\n3. Review of project schedule.\n | ||
Participants: John Smith, Jane Doe, Jim Dandy\n-It was | ||
decided that the requirements need to be signed off by | ||
product marketing.\n-Project processes were accepted.\n | ||
-Project schedule needs to account for scheduled holidays | ||
and employee vacation time. Check with HR for specific | ||
dates.\n-New schedule will be distributed by Friday.\n- | ||
Next weeks meeting is cancelled. No meeting until 3/23. | ||
SUMMARY:Project xyz Review Meeting | ||
END:VJOURNAL | ||
END:VCALENDAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters