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

Scheduled Jobs/API Explorer don't recognize API files in custom php directory

    Details

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

      Description

      If you create an API file in the custom php directory, as usual when creating custom php code for an installation, it works and executes fine.

      However, the new API is not recognized by API explorer or (more importantly) the Scheduled Jobs editing page.

      This means that you can't create a scheduled job from a custom API, unless of course you just add it to the /sites/all/modules/civicrm/api/v3 folder--but that's not really best practice for creating custom code.

      More info and a possible workaround here:

      http://wiki.civicrm.org/confluence/display/CRMDOC42/How+to+migrate+or+write+an+api

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              bhugh Brent Hugh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: