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

Inline edit LABEL on Option Value selector updates NAME instead

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6, 4.6.6
    • Fix Version/s: 4.6.7
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Using the 'inline edit' for option value selectors (including Activity Types, Website Types etc.) results in an update to option_value.name column. This is incorrect (and fairly destructive) behavior in that option_value NAME strings are supposed to be fixed, while labels are freely editable and translatable without causing relational breaks.

      To recreate:

      • go to .. civicrm/admin/options/website_type?reset=1 (or other option group listings) and click a Label cell to edit the value
      • Save the new value
      • Check the values in the option_value row and you'll see that the NAME column has been modified rather than the LABEL column

      — Original Post ----
      This can be reproduced in demo.

      1. Create a new activity type naming it say 'Test email' and save it.
      2. Rename it to Test.
      3. Find a user and add an activity called Test. The window that comes up will still display Test email.

        Attachments

        1. Activity2.JPG
          13 kB
          Stephen Palmstrom
        2. ActivityList1.JPG
          17 kB
          Stephen Palmstrom
        3. Screen Shot 2015-08-07 at 9.58.26 AM.PNG
          85 kB
          David Greenberg

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              spalmstr Stephen Palmstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: