eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
220 stars 114 forks source link

Office.Cloud.Google.Calendar does not show allday Events #1044

Open yunits opened 7 months ago

yunits commented 7 months ago

Hi, currently I am testing your Office.Cloud.Google.Calendar Module.

If I create an daily event on Google, it isn't visible because there is no date set in database:

dbo.Event Oid ResourceIds RecurrencePattern Subject Description StartOn EndOn AllDay Location Label Status Type RemindIn ReminderInfoXml AlarmTime IsPostponed RecurrenceInfoXml OptimisticLockField GCRecord
587D8283-7CD5-413B-9527-018D45E52B3F NULL NULL Google Daily NULL NULL NULL 0 NULL 0 0 0 NULL NULL NULL 0 NULL 3 NULL
13818E0F-83C7-4DE9-8C50-018D45E52B97 NULL NULL Google NULL 2024-01-26 10:00:00.000 2024-01-26 11:00:00.000 0 NULL 0 0 0 NULL NULL NULL 0 NULL 3 NULL

If I create a Local daily event, it gets pushed to cloud and pulled again so I have that event twice:

dbo.Event Oid ResourceIds RecurrencePattern Subject Description StartOn EndOn AllDay Location Label Status Type RemindIn ReminderInfoXml AlarmTime IsPostponed RecurrenceInfoXml OptimisticLockField GCRecord
AC06336D-7EA9-4B12-A467-018D45E87D47 NULL NULL Local Daily   2024-01-25 00:00:00.000 2024-01-26 00:00:00.000 1   0 2 0 NULL NULL NULL 0 NULL 1 NULL
E24C31F0-F474-436E-997C-018D45E92CCE NULL NULL Local Daily NULL 2024-01-25 00:00:00.000 2024-01-26 00:00:00.000 0 NULL 0 0 0 NULL NULL NULL 0 NULL 3 NULL
dbo.CloudOfficeObject Oid CloudObjectType LocalId CloudId
094F8382-DF89-4A89-9EA9-018D45E92CD3 0 e24c31f0-f474-436e-997c-018d45e92cce 3dqmq4otu1ta443e9mipmfki8g

I set CallDirection for ListView "In" (to get Cloud Events) and CallDirection for DetailView to "Out" (to push local Events to Cloud) for testing purposes. SynchronizationType is "All". I would create a sample without any Cloud API Key if you need.

apobekiaris commented 7 months ago

you seem to know a lot about this module :),

unfortunately i do not use it and there are not much traction however if you make my life easy I can take a look.

Please note that this package tests are not in the build cause of its nature, it needed a lot of time to support.

In addition since you spend time on this and I appreciate and respect it also note that this was one of the first packages developed with RX, thus I am not proud of its complex code base, I can code 1000 times bettter and easier now.

Anyway please describe steps to setup and run your sample as detailed as possible with a mindset you want to speare my time not to rediscover the universe.

yunits commented 6 months ago

Sorry for delay. Steps to reproduce:

DXApplication2.zip

  1. Start Application, navigate to "My Details" and "Sign in Google"
  2. Navigate to "Scheduler Event", create any event (not allday), refresh and see this event locally twice.
  3. go to calendar.google.com, create an allday event and see that this event isn't visible in "Scheduler Event", only in database.