SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Unable to create link in Security Groups custom modules sub-panels

Open gaspare-joubert opened this issue 8 months ago • 0 comments

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

1.Open the Security groups module ui
2.Use the 'Create' button's 'Select' option on any custom module
3.In the pop-up window select a single or multiple options using the checkbox
4.Click 'Select'
...

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

gaspare-joubert avatar Jun 13 '24 14:06 gaspare-joubert