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

API.Membership.delete fatals on invalid id

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.3.5
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Normally on the api we don't pre-validate ids where sql will give an error (which we can interpret if they are incorrect for performance reasons)

      However http://issues.civicrm.org/jira/browse/CRM-12147 introduced a pre-delete lookup which causes a fatal on invalid data.

      (Note that we have in other cases advised the intergrator that they should do the lookup themselves for performance reasons on the pre hook & stash the value data in their code - I'm not necessarily adverse to us doing the lookup on delete but we should do it consistently)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                eileen Eileen McNaughton
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: