Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

HC-58: Fix Problems Scheduling Unlimited Resources #159

Merged
merged 5 commits into from
Nov 28, 2017
Merged

Commits on Nov 23, 2017

  1. HC-58: Add API Wrapper to Change Params Array Structure

    A bug injected on CiviCRM v4.7.19 caused chained API calls using '$value.' to
    chain values to previous call to be interpreted as operators with syntax:
    array('OP' => $val). This only happened if the first parameter for the chained
    API call uses '$value.'.
    
    Fixed by implementing civicrm_apiWrappers hook to preprocess parameters array
    to make sure the first parameter of a chained API call is is not a chained
    value.
    MiyaNoctem committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    d275a55 View commit details
    Browse the repository at this point in the history
  2. HC-58: Handle Case Where All Parameters are Chained Values

    As what the implemented fix does is move chained values to the last position
    of the array, if all the parameters of the call are chained values, the
    problem would still present itself.
    
    Added check to verify if all values are chained and if so, added sequential
    flag with 0 value as parameter.
    MiyaNoctem committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    ca36474 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12eeea2 View commit details
    Browse the repository at this point in the history
  4. HC-58: Fix Cycle to Check if All Values are Chained

    Cycle to check if values of a chained call were all chained was botched, as it
    was checking the whole array of parameters on each cycle, instead of each
    individual value.
    MiyaNoctem committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    f635ff5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #158 from compucorp/HC-58-fix-problems-scheduling-…

    …unnlimited-resources
    
    HC-58: Fix Problems Scheduling Unlimited Resources
    MiyaNoctem authored Nov 23, 2017
    Configuration menu
    Copy the full SHA
    198f945 View commit details
    Browse the repository at this point in the history