You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 module3.In the pop-up window select a single or multiple options using the checkbox4.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
The text was updated successfully, but these errors were encountered:
…curity Groups sub-panels
This commit addresses an issue where related custom module items couldn't be selected via sub-panels. The problem occurred when the bean with the relationship link property was empty and not an instance of Link2.
The root cause was identified within the Link2 class's add() function, specifically when the getSide() method returns 'RHS'. This situation arose when either the 'RHS' or 'LHS' was set to 'SecurityGroup' in the M2MRelationship add() function.
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: