Author Topic: kolab/calendar kills message view  (Read 7316 times)

Offline tcarmen

  • Newbie
  • *
  • Posts: 3
kolab/calendar kills message view
« on: December 10, 2022, 05:17:38 PM »
I have a roundcube install that works perfectly.

Installing kolab/calendar gives me a calendar that works perfectly, but it kills the message view in roundcube with the following error in the user's browser:

Quote
Oops... something went wrong!

An internal error has occurred. Your request cannot be processed at this time.

For administrators: Please check the application and/or server error logs for more information.

The error log shows the following:

Code: [Select]
Stack trace:
#0 /opt/roundcube-1.6/roundcubemail-1.6.0/program/lib/Roundcube/bootstrap.php(444): include_once()
#1 /opt/roundcube-1.6/roundcubemail-1.6.0/plugins/libcalendaring/libcalendaring.php(162): rcube_autoload('libcalendaring_...')
#2 /opt/roundcube-1.6/roundcubemail-1.6.0/plugins/libcalendaring/libcalendaring.php(1171): libcalendaring::get_ical()
#3 /opt/roundcube-1.6/roundcubemail-1.6.0/plugins/calendar/calendar.php(3248): libcalendaring->get_mail_ical_objects()
#4 /opt/roundcube-1.6/roundcubemail-1.6.0/program/lib/Roundcube/rcube_plugin_api.php(518): calendar->mail_messagebody_html(Array)
#5 /opt/roundcube-1.6/roundcubemail-1.6.0/program/include/rcmail_output_html.php(1615): rcube_plugin_api->exec_hook('template_object...', Array)
#6 [internal function]: rcmail_output_html->xml_command(Array)
#7 /opt/roundcube-1.6/roundcubemail-1.6.0/program/include/rcmail_output_html.php(1322): preg_replace_callback('/<roundcube:([-...', Array, '<roundcube:incl...')
#8 /opt/roundcube-1.6/roundcubemail-1.6.0/program/include/rcmail_output_html.php(825): rcmail_output_html->parse_xml('<roundcube:incl...')
#9 /opt/roundcube-1.6/roundcubemail-1.6.0/program/include/rcmail_output_html.php(654): rcmail_output_html->parse('message', false)
#10 /opt/roundcube-1.6/roundcubemail-1.6.0/program/actions/mail/show.php(164): rcmail_output_html->send('message', false)
#11 /opt/roundcube-1.6/roundcubemail-1.6.0/program/include/rcmail.php(275): rcmail_action_mail_show->run(Array)
#12 /opt/roundcube-1.6/roundcubemail-1.6.0/index.php(278): rcmail->action_handler()
#13 {main}
  thrown in /opt/roundcube-1.6/roundcubemail-1.6.0/plugins/libcalendaring/lib/libcalendaring_vcalendar.php on line 1553

Removing the calendar makes email work and enabling the calendar makes email not work.

Is there a fix for this?

Both Roundcube and calendar are the latest versions

Code: [Select]

calendar 3.5.11 AGPL-3.0 Download
filesystem_attachments 1.0 GPL-3.0+
http_authentication 1.5 GPL-3.0+
identity_select 1.1 GPL-3.0+
jqueryui 1.13.1 GPL-3.0+
libcalendaring 3.5.11 AGPL-3.0 Download
libkolab 3.5.11 AGPL-3.0 Download


Does anybody have a fix or workaround?

Offline tcarmen

  • Newbie
  • *
  • Posts: 3
FIXED! Re: kolab/calendar kills message view
« Reply #1 on: December 10, 2022, 08:50:53 PM »
Just an update in case anybody runs into this:

I ran across this on :https://wiki.archlinux.org/title/Roundcube#Sabre\VObject\Property\Text_Not_Found

It's a perfect fix, although it seems like this is something the RC installer should be doing.

I ran the commands below as the apache user (httpd user on Fedora) and it worked like a charm.

Error: Sabre\VObject\Property\Text Not Found

If you get this error, it means that either Sabre was not included with the plugin or it is out of date

cd /usr/share/webapps/roundcubemail ; composer update ; composer require sabre/dav ~3.1.3