Security Suite Record Group selector doesn't appear when duplicating records #9717
Labels
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
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
When the option to select a Security Suite Group when creating a record is enabled:
The group selector appears in the EditView of the new record:
Although, when duplicating a record, in the Editview of the new record, the selector doesn't appear.
Issue
The Security Suite group selector doesn't appear when duplicating records
Expected Behavior
Security Suite Group selector should appear as in any other record creation
Actual Behavior
The selector doesn't appear, then the groups can't be selected.
Possible Fix
Add the condition to allow appearing the box on duplicating fields:
SuiteCRM/include/EditView/EditView2.php
Line 940 in f4c5363
&& (empty($this->focus->fetched_row['id']) || $_REQUEST['isDuplicate'] == true) && $this->focus->module_dir != "Users" && $this->focus->module_dir != "SugarFeed") {
Steps to Reproduce
Context
This can be troublesome if the Security Suite is used intensively.
Your Environment
SuiteCRM Version used: Version 7.12.6
Browser name and version: Versión 100.0.4896.88 (Build oficial) (64 bit
Environment name and version: MySQL, PHP 7
Operating System and version: Ubuntu 20.04
The text was updated successfully, but these errors were encountered: