If you set "Entity Connect cache lifetime" to "0" on /admin/config/content/entityconnect,
it seemingly gets stored as a string to the database.
drupal's constant "CACHE_PERMANENT" is an integer though, so comparison
if ($cache_lifetime !== CACHE_PERMANENT) {
in function entityconnect_cache_set() (in entityconnect.module, line 143) fails.
This results in forms not being cached, and several errors, eg redirecting to parent form after saving fails.
There might be some related issues to this...
Quick fix:
Change
if ($cache_lifetime !== CACHE_PERMANENT) {
to
if ($cache_lifetime != CACHE_PERMANENT) {
or store "entityconnect_cache_lifetime" as an integer in the db
Comments
Comment #3
jygastaud commentedThanks for report that issue and fix proposed.