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

Error message when "Add to Group" is pressed with no group selected

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.16
    • Fix Version/s: 4.7.17
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      This is replicable on dmaster.

      To replicate:

      • Open any contact record.
      • Go to the "Groups" tab.
      • Press the "Add" button next to the "Select a Group" select2 widget WITHOUT first selecting a group.

      Expected behavior:
      Nothing.

      Actual behavior:
      The groups template is replaced with:

      • Sorry but we are not able to provide this at the moment.
      • An error notification: Sorry an error occurred
        One of parameters (value: ) is not of the type Integer

      While this is a trivial error to work around, it's a bad look for something that's part of the beginning user's UX to generate an error.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: