Relation M2M between Security Groups and Security Groups raises an error #10541
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
When a realtion bwtween SecurityGroups (SGs) and SGs is created, you get a subpanel to select a SG from SG detail view. But when you select an existing group, an error appears and no relation is created.
Fatal error: Uncaught Error: Call to a member function addBean() on string in /application/suitecrm/data/Relationships/M2MRelationship.php:149 Stack trace: #0 /application/suitecrm/data/Link2.php(547): M2MRelationship->add() #1 /application/suitecrm/include/generic/Save2.php(200): Link2->add() #2 /application/suitecrm/include/MVC/Controller/SugarController.php(1084): require_once('/application/su...') #3 /application/suitecrm/include/MVC/Controller/SugarController.php(465): SugarController->handleActionMaps() #4 /application/suitecrm/include/MVC/Controller/SugarController.php(361): SugarController->process() #5 /application/suitecrm/include/MVC/SugarApplication.php(101): SugarController->execute() #6 /application/suitecrm/index.php(54): SugarApplication->execute() #7 {main} thrown in /application/suitecrm/data/Relationships/M2MRelationship.php on line 149
Possible Fix
No response
Steps to Reproduce the Issue
Context
No response
Version
7.14.4
What browser are you currently using?
Chrome
Browser Version
No response
Environment Information
MAriaDB, PHP 7.4
Operating System and Version
Debian
The text was updated successfully, but these errors were encountered: