FOG 1.5.10.x : Display problem with accesscontrol/site/windowskey plugins
-
Hello,
I noticed a display problem with the following plugins : accesscontrol, site, windowskey.
For example, for the accesscontrol plugin, by going to the “Access Controls” menu, then clicking on a role (Administrator or Technician), the “Members” tab does not display HTML header. The “Rule Association” tab is also affected.
This display problem also occurs for site/windowskey plugins.
I tested this behavior on “stable” and “dev-branch” stable branches
Thanks,
Regards.
-
Hello,
I noticed that these plugins work on Rocky Linux 8 (PHP 7.2) but not on Ubuntu Server 22.04 (PHP 8.2).
On Ubuntu Server 22.04, the error is (/var/log/apache2/error.log) :
[Tue Sep 17 17:11:10.359781 2024] [proxy_fcgi:error] [pid 1156] [client 192.168.2.1:52143] AH01071: Got error 'PHP message: PHP Warning: Undefined property: AccessControlManagementPage::$data in /var/www/fog/lib/plugins/accesscontrol/pages/accesscontrolmanagementpage.class.php on line 1842PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fog/lib/plugins/accesscontrol/pages/accesscontrolmanagementpage.class.php:1842\nStack trace:\n#0 /var/www/fog/lib/fog/fogpagemanager.class.php(220): AccessControlManagementPage->membership()\n#1 /var/www/fog/management/index.php(58): FOGPageManager->render()\n#2 {main}\n thrown in /var/www/fog/lib/plugins/accesscontrol/pages/accesscontrolmanagementpage.class.php on line 1842', referer: http://192.168.2.100/fog/management/index.php?node=accesscontrol&sub=edit&id=1
Regards
-
Hello,
Some fix made : https://github.com/FOGProject/fogproject/pull/647
But there are still several fix to be made for these plugins to be fully functionalRegards.
-
Hello,
Fix Members tab for accesscontol plugin and some display elements for site plugin (11807ac) : https://github.com/FOGProject/fogproject/pull/647
Regards.