salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.45k stars 2.08k forks source link

Inline double click wipes and change data [Bug in demo] #4285

Open horus68 opened 7 years ago

horus68 commented 7 years ago

Issue

When inline editing a field with more then one line (address) or more then one email address (opted out email) its automatically cleaned to a single line value, removing the opted out address or part of the street address

Expected Behavior

No data cleaned or automatically saved

Actual Behavior

This is an image from demo (accounts) Before edit: 2017-09-20 12_18_10

and after double click (each field is saved automatically) 2017-09-20 12_19_24

Steps to Reproduce

  1. Enter demo
  2. Enter contacts or other module
  3. Double click to edit an address filed with more then one line (or an email field with opted an opted out address)
  4. Its automatically saved cleaning some data (making it one line only)

Context

Critical as it changes data without any action intended by user.

Your Environment

Dillon-Brown commented 7 years ago

Marking as a low priority for now. You should be able to refresh the page and have the other data re-appear.

Kevconry commented 1 year ago

Was able to replicate in 7.13.2

pgorod commented 1 week ago

These kinds of inline edits are not implemented. The inline edit code treats these as simple fields, and confusion ensues.

I don't think anybody will have the patience to implement this in 2024 with v8 already released.

A simpler fix would be to disable inline edit for these aggregate fields; at least the user experience would be more reasonable.

pgorod commented 1 week ago

This is probably the exact same issue that appears in many other complaints:

2146

6735

9762

All of these are "compound" fields, with more than one part.