CRM-18587 Multiple CustomData : empty data is saved

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.4
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      I've added a mutliple custom data : child.
      If I update a contact and I click on "add a new child", but I don't fill the fields, and I save : blank data are saved.
      It would be better not to save if no data is set.

        Attachments

        1. blank by design.jpg
          71 kB
          John K.
        2. empty group.jpg
          92 kB
          acceleroweb

          Activity

          [CRM-18587] Multiple CustomData : empty data is saved
          John K. added a comment - - edited

          Confirmed, however, I think this is by design. If there are two fields in the set, and one is not mandatory, then it still needs to save the set. See below. I've closed the issue, but do let me know if I've missed the point of the bug.

          acceleroweb added a comment -

          Sorry, it's not exactly that problem :

          • create a custom group 'group1' that allows multiple values; it's used for Contact
          • add fields to this custom group
          • create a contact : add a new 'group1' but don't fill the fields
          • save the contact

          --> the 'group1' is created but it is empty : it should not have been created....cf screenshot (sorry, it's in french !) : 'group1' is like 'Enfants'

          John K. added a comment -

          So it's a check to see if ALL the fields are empty, and not save it? I suppose that's possible, but the fields are easy to delete/edit if needed. I'll reopen this as an improvement anyway =]

            People

            • Assignee:
              Unassigned
              Reporter:
              acceleroweb

              Dates

              • Created:
                Updated: