tine-groupware / tine

tine groupware main repository
https://www.tine-groupware.de
GNU Affero General Public License v3.0
14 stars 2 forks source link

Attendee not found #50

Open mokraemer opened 7 months ago

mokraemer commented 7 months ago
Calendar_Model_Attender::resolveAttendee::1312 user_id missing from attender or not scalar: Array
    [id] => 7729abf29a5d94f8ef7537a887b85a76da993782
    [quantity] => 1

from that output, it looks wired; as the id should be scalar

mokraemer commented 6 months ago

I've checked, the UUID is in the table tine20_cal_attendee, but the record was not loaded before this function

mokraemer commented 6 months ago

Backtrace:

[file] => /mnt/www/tine/Calendar/Model/Attender.php
[line] => 439
[file] => /mnt/www/tine/Calendar/Model/Attender.php
[line] => 382
[file] => /mnt/www/tine/Calendar/Model/Attender.php
[line] => 368
[file] => /mnt/www/tine/Tinebase/Record/Abstract.php
[line] => 1779
[file] => /mnt/www/tine/Tinebase/Record/RecordSetDiff.php
[line] => 83
[file] => /mnt/www/tine/Tinebase/Notes.php
[line] => 527
[file] => /mnt/www/tine/Tinebase/Notes.php
[line] => 474
[file] => /mnt/www/tine/Tinebase/Controller/Record/Abstract.php
[line] => 1773
[file] => /mnt/www/tine/Tinebase/Controller/Record/Abstract.php
[line] => 1427
[file] => /mnt/www/tine/Calendar/Controller/Event.php
[line] => 1039
[file] => /mnt/www/tine/Calendar/Controller/MSEventFacade.php
[line] => 380
[file] => /mnt/www/tine/ActiveSync/Frontend/Abstract.php
[line] => 398
[file] => /mnt/www/tine/vendor/syncroton/syncroton/lib/Syncroton/Command/Sync.php
[line] => 349
[file] => /mnt/www/tine/vendor/syncroton/syncroton/lib/Syncroton/Server.php
[line] => 144
[file] => /mnt/www/tine/vendor/syncroton/syncroton/lib/Syncroton/Server.php
[line] => 70
[file] => /mnt/www/tine/ActiveSync/Server/Http.php
[line] => 102
[file] => /mnt/www/tine/Tinebase/Core.php
[line] => 270
[file] => /mnt/www/tine/index.php

looks like "$tmpDiff = new Tinebase_Record_RecordSetDiff($value);" initializes Calendar_Model_Attender just with the ID and does not resolve the user_id, as all other explicit calls do

corneliusweiss commented 6 months ago

can you describe the problem in more detail? What are you trying to do? is there an exception in the log? what do you expect and what is actually happening?

mokraemer commented 6 months ago

create an calendar event in the calendar, e.g. via synchrotron in outlook, or caldav in e.g. opensync, or even in tine. Add some EXTERNAL users to the event. If an EXTERNAL user clicks adds the event to the calendar, this error is logged and the event is not updated. According to my research Calendar_Model_Attender is initialized with missing array as arguments

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 30 days with no activity. Comment or remove the stale label. Otherwise, it will be closed in 7 days.

pschuele commented 1 month ago

@corneliusweiss could you please check if we can do anything here? or close the issue again...