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

When adding duplicate group with the API error not handled properly

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When you add a duplicate group through the API (in my case using the REST API, but I believe this is general issue), the system gives a database error instead of return a properly formatted error. Since other functions handle errors properly, I do not believe that this is related to the recent REST API patches I created, I think they are a problem in the API itself. If they are related to my patches, I'm happy to try to fix if given a little guidance.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              acrosman Aaron Crosman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: