Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18677

Bugs with multivalued custom data displayed Inline.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.9
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Replicated on dmaster -

      1) Inline Custom Data cannot be edited.

      • Add a multivalued custom data for Contacts displayed inline.
      • Add two text fields to the set.
      • Add/Edit a Contact and add values (2+) to these custom fields.
      • Edit again and add different values to these fields
      • Only the first row gets edited, no change observed for the second row, third row ...

      This can be because the first row is built from CRM_Contact_Form_Edit_CustomData::buildQuickForm() and thus its fields get posted in exportValues() as rest all are built from ajax callback CRM.buildCustomData().

      2) Saving radio custom field creates 'n' number of blank values for a contact.

      • Add a radio custom field for the above custom set.
      • Edit a contact and save.
      • If you had 'n' values for the above custom set, n additional values gets added (Total 2n).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jitendra.purohit Jitendra Purohit
                Reporter:
                jitendra.purohit Jitendra Purohit
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h