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

jcfiala’s picture

It'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.

jcfiala’s picture

Which shows that I need to build some simpletests around the caching engine, doesn't it?

jcfiala’s picture

Assigned: Unassigned » jcfiala
Status: Active » Fixed

Alright, 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.

aMakUzr’s picture

We'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.

jcfiala’s picture

Status: Fixed » Closed (fixed)

Glad to hear it's working fine for you.