Unable to create link in Security Groups custom modules sub-panels #10446
Labels
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
Unable to create a link to a custom module in the Security Groups sub-panel by using the 'Create' button's 'Select' option.
This is a bug.
When selecting a custom module, a link to this module should be added to the sub-panel's list view.
Possible Fix
In
data/Relationships/M2MRelationship.php
a check must be done in the add() function, before trying to add the bean object to the bean's link property. It needs to be a Link2 instance.Steps to Reproduce the Issue
Context
No response
Version
7.12.8
What browser are you currently using?
Chrome
Browser Version
Version 125.0.6422.141 (Official Build) (64-bit)
Environment Information
MySQL, PHP7.4
Operating System and Version
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: