I installed then defined a simple report:
- name -> example
- access -> admin user
- block caching -> no caching (tried other settings, as well, same results)
- show published nodes -> show only published...
- filter -> simple node filter
- node types -> page
- taxonomy terms -> (none selected)
- sort order -> title
- sort direction -> ascending
- use block -> not checked
- use page -> checked
- display -> ...as list
- page item count -> 20
- display pager... -> checked
- node format -> as titles...
- page path -> example
When I try to access the report at /example, I get:
Fatal error: Call to undefined function get_node_cache_id() in /Volumes/Stuff/WebServer/SyncEm/sites/all/modules/simplelist/SimpleListCachingEngine.php on line 20
Is this an issue with simplelist or a "hardware problem" ... i.e., a "nut" loose on my keyboard (aka me)? Seriously, is this the correct way to use it?
Comments
Comment #1
jcfiala commentedIt's an issue with me being an idiot. I tried making a last minute change on Friday, and managed to munge something up, which tells you that I shouldn't make last minute changes without a few more minutes to take care of it.
I'll try to budget a little time to fix it officially today, but you want to go into the... SimpleListCachingEngine, find line 20, and put '$this->' in front of the call to get_node_cache_id().
Sigh.
Comment #2
jcfiala commentedWhich shows that I need to build some simpletests around the caching engine, doesn't it?
Comment #3
jcfiala commentedAlright, I've fixed the caching engine, and wrote a few tests around it to make it stay nice and stable, so I won't pull this sort of a mistake again.* Keep an eye out for the version that drupal rolls for today, May 18th.
And I apologize for that.
John
*Note - I can't promise I won't pull a new and fresh mistake the next time.
Comment #4
aMakUzr commentedWe've all "been there, done that" (unfortunately).
When I do such things, I just say "it was a hardware problem" ... and people who know me understand that I mean "it was a nut loose on the keyboard." #;-)
Anyway, I installed the latest and it now works. Thanks! The effort and the module are both appreciated.
Comment #5
jcfiala commentedGlad to hear it's working fine for you.