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

Studio - Fields reverting back to default #10243

Open
TwizzX17 opened this issue Oct 16, 2023 · 3 comments
Open

Studio - Fields reverting back to default #10243

TwizzX17 opened this issue Oct 16, 2023 · 3 comments
Labels
Area: Studio Issues & PRs related to all things regarding studio & module builder Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Status: Team Investigating Labels for issues in which the Core Team are investigating / Intend to Investigate Type: Bug Bugs within the core SuiteCRM codebase

Comments

@TwizzX17
Copy link
Contributor

Issue

I'm having issues with the studio, while trying to edit fields on the Contacts module (This does not seem to be a module specific bug). When editing a standard field, such as phone_fax, it will sometimes reset back to its default values. If i for instance deletes the value in "Comment Text" and sets the required field to active and saves. This will sometimes success and sometimes not. In some cases the comment value will return to the field and sometimes not. Even if it succeeds, the entire field record will go back to default if saved once again.

Expected Behavior

The values of the forms should be set to what the user defines, not randomly shuffle on each safe.

Actual Behavior

After changing the values on the form and saving, the values will only in rare instances be saved as defined. Other times only some of the values will be saved. I've read through the logs, but it doesn't throw any error or warnings.

Possible Fix

I dont know the stack good enough, to know what is causing the bug.

Steps to Reproduce

  1. Go to Admin -> Studio -> Contacts -> Fields -> phone_fax
  2. Change the value of "Comment Text" to an empty value and set required field as true.
  3. Click save
  4. If the values are as expected, try to navigate away from the field and back again, now set default value as any kind of string and hit save.
  5. The previous edited values should now be changed back to the default values.

Context

High priority - We cannot edit our dropdown values, which means it is displayed as empty, because the values doesnt match the options.

Your Environment

  • SuiteCRM Version used: 8.4.1
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome Version 117.0.5938.150 (Official Build) (64-bit)
  • Environment name and version (e.g. MySQL, PHP 7): 8.1.24 and has been tested on 8.2
  • Operating System and version (e.g Ubuntu 16.04): Debian GNU/Linux 11 (bullseye) and has also been tested on Ubuntu 20
@johnM2401 johnM2401 added Type: Bug Bugs within the core SuiteCRM codebase Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Area: Studio Issues & PRs related to all things regarding studio & module builder labels Oct 18, 2023
@johnM2401 johnM2401 transferred this issue from salesagility/SuiteCRM-Core Oct 18, 2023
@johnM2401
Copy link
Contributor

johnM2401 commented Oct 18, 2023

Hey!
Thank you for raising this, and getting in touch!
For reference, I've transferred this over to the Suite7 repo, as I can replicate this on 7.14.1 too.
Thanks again!

@gemartin21 gemartin21 added the Status: Team Investigating Labels for issues in which the Core Team are investigating / Intend to Investigate label Oct 24, 2023
@pgorod
Copy link
Contributor

pgorod commented Sep 20, 2024

I confirm that there is a bug here (old! and serious) and I hope to provide a fix soon.
I would appreciate help testing this - it's complex and I'm not sure of all the implications of my fix...

@pgorod
Copy link
Contributor

pgorod commented Oct 4, 2024

See #10538 for a possible fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Studio Issues & PRs related to all things regarding studio & module builder Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Status: Team Investigating Labels for issues in which the Core Team are investigating / Intend to Investigate Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

4 participants