Security Groups not visible in 8.9.1

After upgrading from SuiteCRM 8.9.0 to 8.9.1, we encountered an issue with Security Groups in the Accounts module.

Expected behavior

  • The Security Groups subpanel in an Account record should list all assigned security groups.

  • This works correctly in SuiteCRM 8.9.0.

Actual behavior in 8.9.1

  • The Security Groups subpanel is visible.

  • Existing Accounts clearly have Security Groups assigned.

  • The counter shows the correct number (e.g. “Security Groups: 1”).

  • However, the subpanel itself displays “No results found”.

  • No rows are rendered, even though the relationship exists.

Additional observations

  • If I remove all custom overrides, the counter works again, but the subpanel still shows no records.

  • If I try to override the subpanel via
    custom/Extension/modules/Accounts/Ext/Layoutdefs/securitygroups_accounts.php,
    the behavior becomes worse:

    • the counter disappears (-)

    • the relationship appears completely broken

  • This suggests the core relationship still exists, but the subpanel query/rendering is broken in 8.9.1.

Did someone test this, is this a bug?

Repository:
https://github.com/suitecrm/SuiteCRM-Core/issues


Title

Security Groups subpanel in Accounts shows “No results found” after upgrade to 8.9.1 (counter correct, records not rendered)


Description

After upgrading from SuiteCRM 8.9.0 to 8.9.1, the Security Groups subpanel in the Accounts module no longer renders related records.

The relationship clearly exists and the subpanel counter shows the correct number (e.g. “Security Groups: 1”), but the subpanel list itself displays “No results found”.

This worked correctly in SuiteCRM 8.9.0.


Steps to Reproduce

  1. Install SuiteCRM 8.9.0

  2. Enable Security Suite / Security Groups

  3. Assign one or more Security Groups to an Account

  4. Upgrade instance to SuiteCRM 8.9.1

  5. Open the Account detail view


Expected Behavior

  • The Security Groups subpanel should list all Security Groups assigned to the Account.

Actual Behavior

  • The Security Groups subpanel is visible

  • The counter shows the correct number of related Security Groups

  • The list itself shows “No results found”

  • No rows are rendered


Additional Technical Findings

  • Relationships exist in database table securitygroups_records

  • Relationship name is confirmed as securitygroups_accounts

  • User is logged in as administrator

  • No relevant errors are logged in suitecrm.log

  • Subpanel override is auto‑generated:

// auto-generated file DO NOT EDIT
$layout_defs['Accounts']['subpanel_setup']['securitygroups']['override_subpanel_name']
    = 'Account_subpanel_securitygroups';

  • Custom subpanel layout file exists and is valid:
custom/modules/SecurityGroups/metadata/subpanels/Account_subpanel_securitygroups.php

  • $subpanel_layout structure is correct and contains valid list_fields

  • Removing all custom overrides does not fix the issue

  • Issue appears to be a frontend / subpanel rendering regression in 8.9.1


Regression

  • :white_check_mark: Works in: 8.9.0

  • :cross_mark: Broken in: 8.9.1


Environment

  • SuiteCRM version: 8.9.1

  • PHP version: 8.2

  • Deployment: cpanel hosting


@suitecrm_team please check out the bug.