CRM-1305 Custom Data Groups - Slashes or special characters should be transformed in custom data group names

    Details

    • Type: Task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None

      Description

      Current, if you use a slash or other special character in civicrm_custom_group.title - the name column is not populated (the record is saved with a NULL value in that column) and the transformation for <div id=...> and the showHide params fails and you wind up with javascript errors on pages where the custom data group is displayed.

      To recreate:

      • Admin CiviCRM >> Custom Data >> New Custom Data Group
      • Enter "Spouse / Family name" as the group title and save
      • Dump the saved row and you'll see that custom_group.name is NULL

        Attachments

          Activity

          [CRM-1305] Custom Data Groups - Slashes or special characters should be transformed in custom data group names
          Rupam Jaiswal added a comment -

          fixed CRM-1305 in revision 7257

          Abhilasha Vasu added a comment -

          Issue checked in rev 7724

          Piotr Szotkowski added a comment -

          Reopening closed issues to make them editable.

          Piotr Szotkowski added a comment -

          Changing the issue to resolved and unverified for 1.8.

          Piotr Szotkowski added a comment -

          Make the issue unverified for 1.8.

            People

            • Assignee:
              Abhilasha Vasu
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved: