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

Date refactoring broke Relationship API (unit test detected)

    Details

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

      Description

      api_v2_RelationshipTest->testRelationshipCreateWithIncorrectData fails.

      Reason:
      _civicrm_relationship_format_params method in api/v2/Relationship.php uses recently removed CRM_Utils_Rule::qfdate. Please fix the API (test should not require fixing, to ensure the backwards compatibility, it should stay the same way as before)

        Attachments

          Activity

            People

            • Assignee:
              mover Michał Mach
              Reporter:
              mover Michał Mach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: