SimpleMobileTools / Simple-Calendar

A simple calendar with events, tasks, customizable colors, widgets and no ads.
https://www.simplemobiletools.com
GNU General Public License v3.0
3.52k stars 1.14k forks source link

Strange behavior inviting people #991

Open feutl opened 4 years ago

feutl commented 4 years ago

After reading and commenting https://github.com/SimpleMobileTools/Simple-Calendar/issues/303 I figured out that some strange behavior occurs when inviting people.

Some background information I am using Nextcloud with DavX to sync contacts, calendar and tasks.

What I did:

  1. Created a new calendar entry.
  2. Started to add someone to the invite list and Got the request to allow access to contacts.
  3. Entered a name, the list got populated from the addressbook. I marked a name with email
  4. It showed up in the list of invited guests
  5. Saved the entry
  6. Logged into my Nextcloud Calendar app in my browser and found the entry but instead of an email I got just the name without spaces shown in the calendar app of Nextcloud. image
  7. I went back to the calendar entry on my phone and looked at the entry added and figured out that the address book population misses spaces between first and lastname image
  8. Tried to enter an email address directly into the field using the app, but it just does not work, everytime I enter it, and save the entry it gets removed automatically.

Seems that the App is not storing the data correctly to the entry, because if I just work with my webinterface of nextcloud this all works just fine.

I am using Version 6.6.1 Pro installed via Google Play Store

de-es commented 4 years ago

Got the same problem. Calendar entries with attendees created by Simple Calendar cause errors on my CalDAV server (Baikal) when syncing via DAVx5 and OutlookCalDavSynchronizer complains as well. Etar is working fine in this constellation.

Let me know if you need more technical details for debugging.

gitkald commented 4 years ago

Same problem here. Newest SC Version and DavX. No invitation Mail will be send. Directly form the Nextcloud interface, invitation will be send.

j710 commented 4 years ago

Same issue. Using Davx5 to sync to Fastmail. When adding an event with no additional person invited, all works fine. When inviting, it breaks the event and doesn't properly trigger the invitation. Notably when swapping Google Calendar for Simple Calendar all works fine.

s256 commented 4 years ago

Maybe I have some information that can help: I also tried it with another calendar app and seeing this in the logs of DAVx5

04-03 23:14:37.125 9258 15294 D davx5 : ], attendees=[ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;RSVP=TRUE;PARTSTAT=ACCEPTED:mailto:organizer@business.com 04-03 23:14:37.125 9258 15294 D davx5 : , ATTENDEE;CN=GivenName;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:invitee@acme.com

While Simple Calendar produces this: 04-03 23:22:38.729 9258 15519 D davx5 : ], attendees=[ATTENDEE;CN=GivenName;CUTYPE=INDIVIDUAL;ROLE=NON-PARTICIPANT:mailto:invitee@acme.com

So there is no RSVP=TRUE and the Role might be an issue. the organizer field seems right.

(Log is from Debug output of DAVx5)

Which is the reason invites are not sent, according to Davx5

tibbi commented 4 years ago

Ill take a look at it later, thanks. Sadly there are so many things handled differently inside CalDAV. It isnt some protocol that just works the same way in all apps/services.

jjohnson338 commented 4 years ago

According to the CalenderContract Attendee documentation there is an ATTENDEE_TYPE prop that appears to not be assigned here.

Potentially assigning that could fix the issue?

Maybe I have some information that can help: I also tried it with another calendar app and seeing this in the logs of DAVx5

04-03 23:14:37.125 9258 15294 D davx5 : ], attendees=[ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;RSVP=TRUE;PARTSTAT=ACCEPTED:mailto:organizer@business.com 04-03 23:14:37.125 9258 15294 D davx5 : , ATTENDEE;CN=GivenName;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:invitee@acme.com

While Simple Calendar produces this: 04-03 23:22:38.729 9258 15519 D davx5 : ], attendees=[ATTENDEE;CN=GivenName;CUTYPE=INDIVIDUAL;ROLE=NON-PARTICIPANT:mailto:invitee@acme.com

So there is no RSVP=TRUE and the Role might be an issue. the organizer field seems right.

(Log is from Debug output of DAVx5)

Which is the reason invites are not sent, according to Davx5

Here the other calendar app has the role set to REQ-PARTICIPANT whereas Simple Calendar results in NON-PARTICIPANT. Guessing it defaults to non-participant if not specified otherwise.

HackLotus commented 1 month ago

Hi there ! Any update about this issue ? I've the exactly same problem 4 years later

Thanks !