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

Does not display the error message when importing user that it reports to itself #10491

Open
SinergiaCRM opened this issue Aug 5, 2024 · 0 comments
Labels
Area:Import Issues & PRs related to all things regarding Importing Area:Users Issues & PRs related to all things regarding to Users 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 saving a user, the CRM validates that a loop is not generated with the reporters ("Reports to" field) so that a user cannot report to himself or any of his managers can report to him.

This validation is implemented for the process of saving/updating a user from the user interface but causes an alert with a label that does not exist in the process of updating users through an import.

No import if reports to himself

Possible Fix

No response

Steps to Reproduce the Issue

1. Create a normal user who reports to himself.
2. Check that when saving an error is displayed because he cannot report to himself
3. Export the user and in the downloaded document change the name of the user and the ID of the user to whom he reports ("Reports to" column), where we will indicate the ID of the user himself
4. Run the Import and Update process and check that, although no error message is displayed, the user is not updated.

(Optional)
5. Create another user who reports to the first
6. Export both users and modify the first user so that it reports to this second user.
7. Run the Import and Update process and check that, although no error message is displayed, the users are not updated

+Optional
8. Extend the chain of reporters and perform the checks.

Context

No response

Version

7.14.3

What browser are you currently using?

Firefox

Browser Version

128.0.3 (64-bit)

Environment Information

MySQL, PHP Version 7.4.33

Operating System and Version

Ubuntu 22.04.4 LTS

@SinergiaCRM SinergiaCRM added the Type: Bug Bugs within the core SuiteCRM codebase label Aug 5, 2024
ManuSinergiaCRM pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Aug 5, 2024
ManuSinergiaCRM pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Aug 6, 2024
@johnM2401 johnM2401 added Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Area:Import Issues & PRs related to all things regarding Importing Area:Users Issues & PRs related to all things regarding to Users Severity: Moderate Key function failed, but no or little impact labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Import Issues & PRs related to all things regarding Importing Area:Users Issues & PRs related to all things regarding to Users 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