Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relation M2M between Security Groups and Security Groups raises an error #10541

Open
SinergiaCRM opened this issue Oct 7, 2024 · 0 comments
Open
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

Comments

@SinergiaCRM
Copy link
Contributor

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

1.Create a M2M relation between Security Groups and Security Groups
2.Create a new Security group
3.From the "Security Suite Management" subpanel select another existing security group

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

@SinergiaCRM SinergiaCRM added the Type: Bug Bugs within the core SuiteCRM codebase label Oct 7, 2024
enricsinergia pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Oct 7, 2024
@johnM2401 johnM2401 added 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 labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants