When user tries to extend expired node, its expiration time is calculated starting from expiration date, but not from now.
CoPut - March 22, 2008 - 11:40
| Project: | Auto Expire |
| Version: | 6.x-1.0-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | marcvangend |
| Status: | closed |
Description
When user tries to extend expired node, its expiration time is calculated starting from expiration date, but not from current date.
For example:
If my expiration period is 2 days and node expired 5 days ago, I have to extend it minimum 3 times to return it into not expired state.
It would be good if expiration time be calculated with offset from current date.

#1
#2
Node expiration date is calculating from current date now.
#3
I agree, the new expiry date of an expired nodes should be calculated as now + $days. However I think that nodes that have not yet expired, should still be calculated as expire + $days, otherwise, the user 'loses' a couple of days when he extends before the expiry date. I intend to implement this behavior in the upcoming D6 version.
#4
subscribe.
Also when will the drupal version 6 be ready?
#5
patch tested...looks good to be committed to version 5 at least.
#6
Committed to the Drupal5 branch, still to be ported to D6.
#7
included 6.x-1.0-rc1.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.