Closed (fixed)
Project:
Multistep Nodeform
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2012 at 17:00 UTC
Updated:
1 Aug 2012 at 18:01 UTC
I've tracked down a bug, don't know for sure but seems related to external cache (memcache).
The module was not working properly, data would go into the database, but no changes were visible.
The issue is in line 17 of msnf.steps.inc
if (($cached = cache_get('msnf_step_data:'. $language->language)) !== 0) {
Seems like it's caused by cache_get returning expired cached items, as seen here:
http://api.drupal.org/api/drupal/includes%21cache.inc/function/cache_get...
Changing line 17 to
if (($cached = cache_get('msnf_step_data:'. $language->language)) !== 0 && !empty($cached->data) && (time() < $cached->expire)) {
as suggested in the above link seems to fix the issue.
Comments
Comment #1
stborchertHi.
Looks like a good improvement so I've committed this to the latest dev.
thanks