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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • API Explorer Broken/GetFields Behavior Changed?
Pages: [1]

Author Topic: API Explorer Broken/GetFields Behavior Changed?  (Read 932 times)

DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
API Explorer Broken/GetFields Behavior Changed?
December 06, 2011, 08:12:15 am
In addition to the already documented "missing pseudoconstant.php" I just noticed that it seems the API explorer isn't acting the way it used to.

No more getfields?  Same issue on 3 distinct 4.1 installs, plus sandbox:

http://sandbox.drupal.civicrm.org/civicrm/ajax/doc/api#/civicrm/ajax/rest?json=1&debug=1&version=3&entity=Contact&action=getfields

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: API Explorer Broken/GetFields Behavior Changed?
December 06, 2011, 09:01:39 am
Hi,

That was a bug introduced by the filter by action on getfields (so you get a different list of mandatory if you create or delete an entity)

If you are using svn, can you confirm an svn update fixes it?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: API Explorer Broken/GetFields Behavior Changed?
December 06, 2011, 09:06:55 am
This is the issue:
http://issues.civicrm.org/jira/browse/CRM-9019

Thanks for reporting the problem.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • API Explorer Broken/GetFields Behavior Changed?

This forum was archived on 2017-11-26.