CRM-8031 Can't change custom field label without changing the field name, too?

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.6, 3.4.0
    • Fix Version/s: 4.4.0
    • Component/s: Usability
    • Labels:
      None

      Description

      Custom field names have to be unique, the civicrm_custom_field table has an additional colum "label" for the name to be displayed in forms, too, though which doesn't have any uniqueness constraints.

      The custom field edit form does not allow to change the label independent of the name though and so i'm getting "name already exists" error messages ...

      What i actually want is to have custom fields for bank account numbers for pledges and memberships, tied to the appropriate object type (peldge/membership) and always displaying "Account No" as lable no matter what specific objects edit form i'm in. Due to the unique constraint i now have "Account No" and "Account No2" fields, and did only manage to have both showing "Account No" as field labels in forms by directly updating the label field in the civicrm_custom_filed table. But now i can't change any other properties of the "Account No 2" field anymore as this will give me the uniqueness violation error message again ...

        Attachments

          Activity

          [CRM-8031] Can't change custom field label without changing the field name, too?
          Donald A. Lobo added a comment -


          Would be great if you can submit a patch. We can potentially get it into an earlier release if so

          Donald A. Lobo added a comment -


          Closing issues in batch on 4/16/13 since these issues have not been worked on in a long long time

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Hartmut Holzgraefe

              Dates

              • Created:
                Updated:
                Resolved: