Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tartard opened this issue May 27, 2024 · 2 comments
Labels
0. to triage Pending approval or rejection bug

Comments

@tartard
Copy link

tartard commented May 27, 2024

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 tartard added the bug label May 27, 2024
@miaulalala
Copy link
Contributor

can you check your network tab in the browser dev tools and tell me what is POSTed to the DAV endpoint?

@miaulalala miaulalala added the 0. to triage Pending approval or rejection label May 28, 2024
@tartard
Copy link
Author

tartard commented May 28, 2024

I am not sure to understand your request ; I don't see anything POSTed to any DAV endpoint, the error occurs when i click on the search result after typing in the search bar .

After typing, I get one result. Here are the 3 requests produced by typing in the search box :
image

Then I click the result (the found circle) to invite it to the event, which produces the following request :

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. to triage Pending approval or rejection bug
Projects
None yet
Development

No branches or pull requests

2 participants