calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Calendar - error when creating event with an invited circle containing a group

Open tartard opened this issue 9 months ago • 2 comments

Steps to reproduce

  1. Create a circle which contains a group
  2. Create an event in the calendar
  3. Try to invite the previously created circle to the event

Expected behavior

Members of the group which is member of the circle should be invited to the event

Actual behaviour

When clicking the circle found in the invite search, a server error occurs (error 500) during the following request :
GET https://nextcloud.rochefort-numerique.fr/index.php/apps/calendar/v1/circles/getmembers?format=json&circleId=BaSgPX5ecWIZotULqBSiuw4YzO5BaLY

with the following server log :

{"reqId":"RJzeOpx2dzk9BLRWMgqJ","level":3,"time":"2024-05-27T13:05:49+00:00","remoteAddr":"86.214.180.2","user":"****","app":"index","method":"GET","url":"/index.php/apps/calendar/v1/circles/getmembers?format=json&circleId=BaSgPX5ecWIZotULqBSiuw4YzO5BaLY","message":"Could not find organizer","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"27.1.3.2","exception":{"Exception":"OCA\Calendar\Service\ServiceException","Message":"Could not find organizer","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getCircleMembers","class":"OCA\Calendar\Controller\ContactController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1068,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/apps/calendar/lib/Controller/ContactController.php","Line":233,"CustomMessage":"--"}}

Calendar app version

4.7.4

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

27.1.3

Updated from an older installed version or fresh install

None

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

{"reqId":"RJzeOpx2dzk9BLRWMgqJ","level":3,"time":"2024-05-27T13:05:49+00:00","remoteAddr":"86.214.180.2","user":"****","app":"index","method":"GET","url":"/index.php/apps/calendar/v1/circles/getmembers?format=json&circleId=BaSgPX5ecWIZotULqBSiuw4YzO5BaLY","message":"Could not find organizer","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"27.1.3.2","exception":{"Exception":"OCA\\Calendar\\Service\\ServiceException","Message":"Could not find organizer","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getCircleMembers","class":"OCA\\Calendar\\Controller\\ContactController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/apps/calendar/lib/Controller/ContactController.php","Line":233,"CustomMessage":"--"}}

Log file

No response

Browser log

No response

Additional info

No response

tartard avatar May 27 '24 13:05 tartard