Suitecrm: Studio saving issue in latest release

Created on 19 Nov 2020  路  3Comments  路  Source: salesagility/SuiteCRM



Issue



Studio does not save fields correctly and tends to override existing changes when making new ones.

Expected Behavior

Studio save should be consistent, all existing changes should not be overridden upon new saves.

Steps to Reproduce



Fail 1

  1. Install or Open an instance running the latest builds
  2. Navigate to studio and edit a field in any module
  3. Press save and see that the change appears to save but redirects you back to the same page
  4. Press save again and see that the change is destroyed

Fail 2

  1. Install or Open an instance running the latest builds
  2. Navigate to studio and edit a field in any module
  3. Press save and see that the change appears to save you back to the same page
  4. Press cancel or one of the tree navigation buttons without again pressing save
  5. Opening up the same field should show the change was "saved"
  6. Make another change to a different part of the field
  7. Press save and see that the last change was overridden and you could continue with fail 1 or fail 2 again

Context


Studio is a massive requirement for many users, unknown on how previous changes are handled with this new release but hopefully no ones existing changes are broken due to this issue.

Your Environment

  • SuiteCRM Version used: 7.10.29
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Version 87.0.4280.66 (Official Build) (64-bit)
  • Environment name and version (e.g. MySQL, PHP 7): PHP 73, Mariadb 10.3
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu 16.04
Studio Important Bug

All 3 comments

Hoi Mac-Rae ,

I cannot reproduce this with a simple dropdown field in a random module, Contacts.
I just add a new value to this dropdown, save this adjustment, save the record and I can still see the change in SuiteCRM Studio. With a record in this module I can select this new value from that dropdown and save it successfully. Perhaps it helps to do a Repair JS language & Repair and Rebuild?

Environment
SuiteCRM Version used: 7.11.18
Browser name and version (e.g. Chrome Version 87.0.4280.66 (64-bit)): Firefox
Environment name and version (e.g. MySQL, PHP 7): MariaDB 10.2, PHP 7.3
Operating System and version (e.g Ubuntu 16.04):

Hi @timo-ecm2 ,

In the action you mentioned you are editing a dropdown list and that's another case.

What Marc-Rae mentions in this issue it's a problem regarding the modification of properties within the fields, such as the Default Value or the Comment Text, as examples. The second modification of prepertiesthat you do within a field in Studio, it will overwrite the first one.

Hi SinergiaCRM ,
Thank you for the feedback, I was curious to know because of course a dropdown is a field type, only a closed-ended field type. So first I was not sure, but now I know more.

Was this page helpful?
0 / 5 - 0 ratings