Incorrect values ​​in Enum and Multienum fields are not displayed #5228

Open
opened 2026-02-20 16:31:43 -05:00 by deekerman · 0 comments
Owner

Originally created by @SinergiaCRM on GitHub (Aug 2, 2024).

Issue

If an Enum, DynamicEnum or Multienum field has a value that does not match the indexes of the associated drop-down list, the incorrect values ​​are not displayed in either the detail view. In Multienum fields it is also not displayed in list view, in subpanels, in popup and in the dashlet.

Video with tests performed in list, detail and subpanel view

Uploading errorInSuiteCRM7_14_3.gif…

Possible Fix

Homogenize the behavior in the different views and show the incorrect values ​​in all of them so that the user can identify that there is an error and correct it.

Steps to Reproduce the Issue

1. Create a DynamicEnum and a Multienum field in Accounts
2. Create more than one organization by assigning a value to the account_type field and to the fields created in the previous point
2. Access the database and change the value to one or more of those fields so that it does not correspond to any of the indexes in the associated list.

Enum and DynamicEnum
3. Check that the erroneous value is not displayed in the detail view but is displayed in the list view, in subpanels, in popup and in the dashlet.

Multienum
4. Check that the erroneous value is not displayed in any of the views

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

Originally created by @SinergiaCRM on GitHub (Aug 2, 2024). ### Issue If an Enum, DynamicEnum or Multienum field has a value that does not match the indexes of the associated drop-down list, the incorrect values ​​are not displayed in either the detail view. In Multienum fields it is also not displayed in list view, in subpanels, in popup and in the dashlet. Video with tests performed in list, detail and subpanel view ![Uploading errorInSuiteCRM7_14_3.gif…]() ### Possible Fix Homogenize the behavior in the different views and show the incorrect values ​​in all of them so that the user can identify that there is an error and correct it. ### Steps to Reproduce the Issue ```bash 1. Create a DynamicEnum and a Multienum field in Accounts 2. Create more than one organization by assigning a value to the account_type field and to the fields created in the previous point 2. Access the database and change the value to one or more of those fields so that it does not correspond to any of the indexes in the associated list. Enum and DynamicEnum 3. Check that the erroneous value is not displayed in the detail view but is displayed in the list view, in subpanels, in popup and in the dashlet. Multienum 4. Check that the erroneous value is not displayed in any of the views ``` ### 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5228
No description provided.