Commit b999d78e authored by jaapjansma's avatar jaapjansma
Browse files

Fixed regression issue

parent 7fa96b1f
Version 1.5.1
=============
* Fixed regression with caching of options of a form processor field.
Version 1.5
===========
......
......@@ -38,7 +38,7 @@ class FormProcessorDefaults extends FormProcessor implements API_ProviderInterfa
protected function getFields($formProcessorName, $apiParams, $fieldName = NULL, $useCache=true) {
$fields = [];
$hash = md5(json_encode($apiParams));
$cacheKey = 'FormProcessor.getfields.'.strtolower($formProcessorName).'.'.$hash;
$cacheKey = 'FormProcessorDefaults.getfields.'.strtolower($formProcessorName).'.'.$hash;
if ($useCache && ($cache = Cache::get($cacheKey))) {
return $cache;
}
......@@ -236,7 +236,7 @@ class FormProcessorDefaults extends FormProcessor implements API_ProviderInterfa
return array();
}
$cachekey = 'formprocessor.getactions';
$cachekey = 'formprocessordefaults.getactions';
if ($cache = Cache::get($cachekey)) {
return $cache;
}
......
......@@ -16,8 +16,8 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
<url desc="Action-Provider Extension">https://lab.civicrm.org/extensions/action-provider</url>
</urls>
<releaseDate>2019-12-12</releaseDate>
<version>1.5</version>
<releaseDate>2019-12-16</releaseDate>
<version>1.5.1</version>
<develStage>stable</develStage>
<compatibility>
<ver>4.7</ver>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment