Expiration repeatedly expires the same node
| Project: | Auto Expire |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Can anyone (that is, the developer) envision a scenario when auto_expire continuously expires a node? I am seeing the same node expire over and over again. My log message is "Auto expire purged node: 910", repeated many many times. Something seems to trigger this, but I am not sure what. It doesn't happen forever, but enough that it fills my log with these notices.
My problem is that I'm also using the userpoints module, and this occasional repeated node expiration causes points to be deducted over and over again from the node owner...thus causing erroneous points for the unfortunate user.
I'm using auto_expire 5.x-1.0 on a Drupal 5.3 installation. The node (e.g. node 910) is indeed purged right now, so I'm not sure why auto_expire is doing this. Any brainstorm ideas from the dev folks?
Thanks,
Matt
--

#1
#2
#3
Hi!
I have the same problem.
#4
Hello!
Please try this code.
Replace in auto_expire.module line about 287
while ($nid = db_result($result)) {on this two line
while ($nid_obj = db_fetch_object($result)) {$nid = $nid_obj->nid;
#5
Does that resolve the issue?
#6
The last comment is more than a year old, I assume this is fixed. Please re-open if this problem still needs attention.
#7
Oops, forgot to change the status.