Bug#1049937: gosa: Fatal error: Uncaught TypeError: Unsupported operand types: string & int in /usr/share/gosa/include/functions.inc:249
Mike Gabriel
sunweaver at debian.org
Thu Aug 17 05:54:04 BST 2023
Package: src:gosa
Version: 2.8~git20230203.10abe45+dfsg-8
Severity: important
When tinkering with configuration values in the "Settings" Addon of
GOsa², after saving the new settings one ends up with:
```
Fatal error: Uncaught TypeError: Unsupported operand types: string &
int in /usr/share/gosa/include/functions.inc:249 Stack trace: #0
/usr/share/gosa/html/main.php(120): DEBUG() #1 {main} thrown in
/usr/share/gosa/include/functions.inc on line 249
```
This is due to debugLevel being an empty string (not 0) and the new
bitwise operation on it (which fails if it is an empty string.
Patch is on its way...
Mike
--
mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: sunweaver at debian.org, http://sunweavers.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20230817/0b8f445c/attachment.sig>
More information about the Debian-edu-pkg-team
mailing list