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
Install SuiteCRM 8.9.0
Enable Security Suite / Security Groups
Assign one or more Security Groups to an Account
Upgrade instance to SuiteCRM 8.9.1
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';
Issue Summary: Security Groups subpanel shows correct count, but no rows (SuiteCRM 8.9.2)
We’ve tested this thoroughly on SuiteCRM 8.9.2:
The Security Groups subpanel is visible on the Account detail view
The subpanel count (e.g. “1”) correctly reflects the number of linked groups
The database contains valid entries in securitygroups_records
ACL permissions are correctly applied — the user can access the record
However, no rows are rendered in the subpanel (just “No results found”)
What we tried:
Defined the relationship securitygroups_accounts via custom/Extension/modules/Accounts/Ext/Vardefs/
Added a link field named securitygroups pointing to that relationship
Modified and tested subpaneldefs.php and layoutdefs extensions
Cleared all caches, ran Quick Repair & Rebuild, reset browser cache
Verified with SQL: data exists and is correct
Inspected GraphQL requests in DevTools — no valid data is returned
Conclusion:
The issue is not in permissions, metadata, or data integrity, but likely in the GraphQL schema and resolvers used by the Angular frontend. The securitygroups_accounts relationship is not exposed to GraphQL, so the subpanel cannot retrieve data.
Hi @sasotech ,
The issue appears to be a regression in 8.9.1’s subpanel query and rendering logic for Security Groups. The relationship itself remains intact in the database, but the front-end subpanel fails to fetch and display the records. As a temporary workaround, you can remove any custom overrides and clear caches, though this may not fully resolve the rendering issue. While the 8.9.2 release notes do not explicitly mention a fix for this bug, upgrading to 8.9.2 is recommended to see if the issue has been addressed.
The problem was that the Administrator user was in Security group/Role that didn’t allow access to security module. And also some legacy files in public/legacy/custom/Extension/modules/Accounts/Ext/Layoutdefs/