sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.44k stars 282 forks source link

assertEnvironmentIsOk does not detect missing XMLReader Class #1184

Open sneu14 opened 1 year ago

sneu14 commented 1 year ago

Baikal version: 0.9.3

Expected behaviour: When php-class XMLReader in the php Installation is missing, the function assertEnvironmentIsOk in Tools.php should exit with an error and display a message that XMLReader Class is missing

Current behaviour: Installation, GUI, and everhings seems to be fine, but requests on dav.php fail. In the error log of the webserver the follwing messages appear: "PHP message: Error: Class "XMLReader" not found in /var/www/baikal/vendor/sabre/xml/lib/Reader.php:22"

After installing php-fm everthing works fine.

Steps to reproduce:

  1. Install php
  2. Install php-sqlite3
  3. Install php-mysql
  4. Configure Baikal and create a User
  5. Try to access the created calendars from a CalDAV Client and have a look at the rror log of the webserver.