Repository navigation
Closed
Labels
Description
Steps to reproduce:
- Use a calendar app (I use Evolution)
- Create a new meeting and add a person to invite without an email address
- Click on save
Expected behaviour:
The meeting gets saved.
Actual behaviour:
The server responds with an error 500. The follwing can be found in the logs:
[remote] Error: TypeError: idn_to_ascii() expects parameter 1 to be string, null given at <<closure>>
0. /var/www/html/lib/private/Mail/Message.php line 78
idn_to_ascii(null, 0, 1)
1. /var/www/html/lib/private/Mail/Message.php line 143
OC\Mail\Message->convertAddresses({foobar: null})
2. /var/www/html/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php line 233
OC\Mail\Message->setTo({foobar: null})
3. <<closure>>
OCA\DAV\CalDAV\Schedule\IMipPlugin->schedule(Sabre\VObject\IT ... e})
4. /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([OCA\DAV\CalDAV\ ... "], [Sabre\VObject\I ... }])
5. /var/www/html/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php line 384
Sabre\Event\EventEmitter->emit("schedule", [Sabre\VObject\I ... }])
6. /var/www/html/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php line 665
Sabre\CalDAV\Schedule\Plugin->deliver(Sabre\VObject\IT ... e})
7. /var/www/html/3rdparty/sabre/dav/lib/CalDAV/Schedule/Plugin.php line 367
Sabre\CalDAV\Schedule\Plugin->processICalendarChange(null, Sabre\VObject\Co ... l}, ["mailto:daniel. ... "], [], true)
8. /var/www/html/apps/dav/lib/CalDAV/Schedule/Plugin.php line 129
Sabre\CalDAV\Schedule\Plugin->calendarObjectChange(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {}, Sabre\VObject\Co ... l}, "calendars/-l/personal", true, true)
9. <<closure>>
OCA\DAV\CalDAV\Schedule\Plugin->calendarObjectChange(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {}, Sabre\VObject\Co ... l}, "calendars/-/personal", true, true)
10. /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([OCA\DAV\CalDAV\ ... "], [Sabre\HTTP\Requ ... e])
11. /var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php line 943
Sabre\Event\EventEmitter->emit("calendarObjectChange", [Sabre\HTTP\Requ ... e])
12. /var/www/html/3rdparty/sabre/dav/lib/CalDAV/Plugin.php line 801
Sabre\CalDAV\Plugin->validateICalendar("BEGIN:VCALENDAR ... n", "calendars/-", false, Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {}, true)
13. <<closure>>
Sabre\CalDAV\Plugin->beforeCreateFile("calendars/-", "BEGIN:VCALENDAR ... n", OCA\DAV\CalDAV\Calendar {}, false)
14. /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([OCA\DAV\CalDAV\ ... "], ["calendars/-])
15. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1094
Sabre\Event\EventEmitter->emit("beforeCreateFile", ["calendars/-])
16. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 525
Sabre\DAV\Server->createFile("calendars/-", "BEGIN:VCALENDAR ... n", null)
17. <<closure>>
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
18. /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([Sabre\DAV\CorePlugin {},"httpPut"], [Sabre\HTTP\Requ ... }])
19. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 479
Sabre\Event\EventEmitter->emit("method:PUT", [Sabre\HTTP\Requ ... }])
20. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 254
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
21. /var/www/html/apps/dav/lib/Server.php line 317
Sabre\DAV\Server->exec()
22. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
23. /var/www/html/remote.php line 163
require_once("/var/www/html/a ... p")
PUT /remote.php/dav/calendars/-/personal/5f279e307a0e32e52689f5cc27b1b37c8b881ff2.ics
from 181.18.0.1 by - at 2020-01-16T18:23:22+00:00
My Nextcloud version is 17.0.2.1
Note If you think this is a problem with Evolution instead of Nextcloud, please notify me and I will file a bug report for Evolution.
Activity
georgehrke commentedon Jan 16, 2020
Please read the instructions in the issue template more careful next time. Everything CalDAV related belongs in the server!
daknuett commentedon Jan 17, 2020
I am sorry about that. But I didn't see an issue template. And when looking through other issues it seems like other people don't see it either.
DecaTec commentedon Jan 12, 2021
I have exactly the same problem. Only difference is that I'm using the calendar in Nextcloud in order to create an entry and want to invite another user. After trying to save the event, nothing happens, I only see a spinning circle.
This is what the browser console shows:
ChristophWurst commentedon Feb 11, 2021
Please see #25582. I just ran into the same and sent a fix.