API v4_1 get_module_fields method does not return parentenum #3157

Closed
opened 2026-02-20 16:01:35 -05:00 by deekerman · 0 comments
Owner

Originally created by @sanchezfauste on GitHub (Jun 12, 2018).

Issue

On API v4_1 get_module_fields method is not returning parentenum values.

Possible Fix

I will submit a PR later.

Steps to Reproduce

  1. Call get_module_fields on Cases module.
  2. See that state and status fields doesn't have parentenum value.

Context

I'm implementing an external application and I need this value to implement dynamicenum fields.

Your Environment

  • SuiteCRM Version used: SuiteCRM 7.8.20 LTS
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Versión 67.0.3396.79 (Build oficial) (64 bits)
  • Environment name and version (e.g. MySQL, PHP 7): PHP 7.0.27 and mysql-server 5.5.9999
  • Operating System and version (e.g Ubuntu 16.04): Debian 9
Originally created by @sanchezfauste on GitHub (Jun 12, 2018). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> <!--- If you have discovered a security risk please report it by emailing security@suitecrm.com. This will be delivered to the product team who handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team. ---> #### Issue <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> On API v4_1 `get_module_fields` method is not returning `parentenum` values. #### Possible Fix <!--- Not obligatory, but suggest a fix or reason for the bug --> I will submit a PR later. #### Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug include code to reproduce, if relevant --> 1. Call `get_module_fields` on `Cases` module. 2. See that `state` and `status` fields doesn't have `parentenum` value. #### Context <!--- How has this bug affected you? What were you trying to accomplish? --> I'm implementing an external application and I need this value to implement dynamicenum fields. <!--- If you feel this should be a low/medium/high priority then please state so --> #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: SuiteCRM 7.8.20 LTS * Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Versión 67.0.3396.79 (Build oficial) (64 bits) * Environment name and version (e.g. MySQL, PHP 7): PHP 7.0.27 and mysql-server 5.5.9999 * Operating System and version (e.g Ubuntu 16.04): Debian 9
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#3157
No description provided.