-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug
Description
Steps to reproduce
- Using the groupfolder permission occ command:
occ groupfolders:permissions 4 --user User / -- +write
Expected behaviour
Setting the permission for the folder without error.
Actual behaviour
TypeError: Argument 2 passed to OCA\GroupFolders\ACL\Rule::__construct() must be of the type integer, string given, called in /var/www/html/nextcloud/apps/groupfolders/lib/Command/ACL.php on line 185 and defined in /var/www/html/nextcloud/apps/groupfolders/lib/ACL/Rule.php:48
Solution
Forcing intval() on Cache::getId
https://github.com/nextcloud/server/blob/master/lib/private/Files/Cache/Cache.php#L419
Groupfolder issue:
Server configuration
Operating system:
Ubuntu
Web server:
Nginx
Database:
Mysql
PHP version:
7.2
Nextcloud version:
16.0.4
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug