CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Unit Testing (Moderator: Michał Mach) »
  • Test failing - pledge on custom fields
Pages: [1]

Author Topic: Test failing - pledge on custom fields  (Read 4498 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Test failing - pledge on custom fields
September 22, 2011, 04:29:02 pm
I've tried a few times to figure out why the tests fail when run together & never quite got there

http://tests.dev.civicrm.org/trunk/results-api_v3/

The currently failing test is pledge custom & I can see it is asking membership BAO/DAO about it's custom fields but not Pledge DAO/BAO


Sep 23 10:58:49  [info] $INSERT INTO civicrm_cache (group_name , path , data , created_date ) VALUES ('contact fields' , 'custom importableFields Membership_0_0_0_0__0__0__1_6a657c34' , 'a:0:{}' ,  20110923105849 )  = C:\utils\eclipseworkspace\civicrm-3.4\packages\DB\DataObject.php, backtrace, 2358
C:\utils\eclipseworkspace\civicrm-3.4\packages\DB\DataObject.php, _query, 1054
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Core\DAO.php, insert, 288
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Core\BAO\Cache.php, save, 104
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Core\BAO\CustomField.php, setItem, 523
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Core\BAO\CustomField.php, getFields, 560
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Member\BAO\Membership.php, getFieldsForImport, 979
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Member\BAO\Query.php, exportableFields, 43
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Core\Component.php, getFields, 224
C:\utils\eclipseworkspace\civicrm-3.4\CRM\Contact\BAO\Query.php, getQueryFields, 424
C:\utils\eclipseworkspace\civicrm-3.4\api\v3\Pledge.php, __construct, 140
C:\utils\eclipseworkspace\civicrm-3.4\api\api.php, civicrm_api3_pledge_get, 78
C:\utils\eclipseworkspace\civicrm-3.4\tests\phpunit\api\v3\PledgeTest.php, civicrm_api, 98
, testCreateWithCustom,
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Unit Testing (Moderator: Michał Mach) »
  • Test failing - pledge on custom fields

This forum was archived on 2017-11-26.