CRM-8528 incorrect results for contribution get

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.2
    • Fix Version/s: 4.0.7
    • Component/s: CiviContribute, CiviCRM API
    • Labels:
      None

      Description

      Using api explorer to try to retrieve a contribution 16509, I get the following:
      for /civicrm/ajax/rest?debug=1&version=3&entity=Contribution&action=get&id=16509:
      <?xml version="1.0"?>
      <ResultSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Result>
      </Result>
      <Result>
      <0>id</0>
      </Result>
      <Result>
      </Result>
      <Result>
      </Result>
      <Result>
      </Result>
      </ResultSet>

      For /civicrm/ajax/rest?debug=1&version=3&entity=Contribution&action=get&entity_id=16509 (note the change from id to entity_id, I get about a dozen contributions, including the one requested.

        Attachments

          Activity

          [CRM-8528] incorrect results for contribution get
          Eileen McNaughton added a comment -

          I think you should re-test this now - there was a related issue

          Joe Murray added a comment -

          What code update from 3.4.2 should I test?

          Erik Hommel added a comment -

          Tested this problem against trunk, could not reproduce. Apparently solved, issue closed.

            People

            • Assignee:
              Erik Hommel
              Reporter:
              Joe Murray

              Dates

              • Due:
                Created:
                Updated:
                Resolved: