Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fsnet
form-processor
Commits
b999d78e
Commit
b999d78e
authored
Dec 16, 2019
by
jaapjansma
Browse files
Fixed regression issue
parent
7fa96b1f
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
b999d78e
Version 1.5.1
=============
*
Fixed regression with caching of options of a form processor field.
Version 1.5
===========
...
...
Civi/FormProcessor/API/FormProcessorDefaults.php
View file @
b999d78e
...
...
@@ -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
=
'FormProcessor
Defaults
.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
=
'formprocessor
defaults
.getactions'
;
if
(
$cache
=
Cache
::
get
(
$cachekey
))
{
return
$cache
;
}
...
...
info.xml
View file @
b999d78e
...
...
@@ -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-1
2
</releaseDate>
<version>
1.5
</version>
<releaseDate>
2019-12-1
6
</releaseDate>
<version>
1.5
.1
</version>
<develStage>
stable
</develStage>
<compatibility>
<ver>
4.7
</ver>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment